LLDB  mainline
Classes | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
lldb_private::repro::SymbolFileProvider Class Reference

Provider for mapping UUIDs to symbol and executable files. More...

#include <ReproducerProvider.h>

Inheritance diagram for lldb_private::repro::SymbolFileProvider:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::repro::SymbolFileProvider:
Collaboration graph
[legend]

Classes

struct  Entry
 
struct  Info
 

Public Member Functions

 SymbolFileProvider (const FileSpec &directory)
 
void AddSymbolFile (const UUID *uuid, const FileSpec &module_path, const FileSpec &symbol_path)
 
void Keep () override
 The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer. More...
 
- Public Member Functions inherited from lldb_private::repro::Provider< SymbolFileProvider >
const void * DynamicClassID () const override
 
llvm::StringRef GetName () const override
 
llvm::StringRef GetFile () const override
 
- Public Member Functions inherited from lldb_private::repro::ProviderBase
virtual ~ProviderBase ()=default
 
const FileSpecGetRoot () const
 
virtual void Discard ()
 The Discard method is called when it is decided that we do not need to keep any information and will not generate a reproducer. More...
 
virtual const void * DynamicClassID () const =0
 
virtual llvm::StringRef GetName () const =0
 
virtual llvm::StringRef GetFile () const =0
 

Static Public Attributes

static char ID = 0
 

Private Attributes

std::vector< Entrym_symbol_files
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::repro::Provider< SymbolFileProvider >
static const void * ClassID ()
 
- Static Public Member Functions inherited from lldb_private::repro::ProviderBase
static const void * ClassID ()
 
- Protected Member Functions inherited from lldb_private::repro::Provider< SymbolFileProvider >
 ProviderBase (const FileSpec &root)
 
- Protected Member Functions inherited from lldb_private::repro::ProviderBase
 ProviderBase (const FileSpec &root)
 

Detailed Description

Provider for mapping UUIDs to symbol and executable files.

Definition at line 223 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ SymbolFileProvider()

lldb_private::repro::SymbolFileProvider::SymbolFileProvider ( const FileSpec directory)
inline

Definition at line 225 of file ReproducerProvider.h.

Member Function Documentation

◆ AddSymbolFile()

void SymbolFileProvider::AddSymbolFile ( const UUID uuid,
const FileSpec module_path,
const FileSpec symbol_path 
)

◆ Keep()

void SymbolFileProvider::Keep ( )
overridevirtual

The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer.

Reimplemented from lldb_private::repro::ProviderBase.

Definition at line 153 of file ReproducerProvider.cpp.

References lldb_private::FileSpec::CopyByAppendingPathComponent(), and lldb_private::FileSpec::GetPath().

Member Data Documentation

◆ ID

char SymbolFileProvider::ID = 0
static

Definition at line 251 of file ReproducerProvider.h.

◆ m_symbol_files

std::vector<Entry> lldb_private::repro::SymbolFileProvider::m_symbol_files
private

Definition at line 254 of file ReproducerProvider.h.


The documentation for this class was generated from the following files: