LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
SymbolVendorELF Class Reference

#include <SymbolVendorELF.h>

Inheritance diagram for SymbolVendorELF:
Inheritance graph
[legend]
Collaboration diagram for SymbolVendorELF:
Collaboration graph
[legend]

Public Member Functions

 SymbolVendorELF (const lldb::ModuleSP &module_sp)
 
 ~SymbolVendorELF () override
 
lldb_private::ConstString GetPluginName () override
 
uint32_t GetPluginVersion () override
 
- Public Member Functions inherited from lldb_private::SymbolVendor
 SymbolVendor (const lldb::ModuleSP &module_sp)
 
 ~SymbolVendor () override
 
void AddSymbolFileRepresentation (const lldb::ObjectFileSP &objfile_sp)
 
virtual void Dump (Stream *s)
 
virtual lldb::LanguageType ParseLanguage (CompileUnit &comp_unit)
 
virtual size_t ParseFunctions (CompileUnit &comp_unit)
 
virtual bool ParseLineTable (CompileUnit &comp_unit)
 
virtual bool ParseDebugMacros (CompileUnit &comp_unit)
 
virtual bool ParseSupportFiles (CompileUnit &comp_unit, FileSpecList &support_files)
 
virtual bool ParseIsOptimized (CompileUnit &comp_unit)
 
virtual size_t ParseTypes (CompileUnit &comp_unit)
 
virtual bool ParseImportedModules (const SymbolContext &sc, std::vector< SourceModule > &imported_modules)
 
virtual size_t ParseBlocksRecursive (Function &func)
 
virtual size_t ParseVariablesForContext (const SymbolContext &sc)
 
virtual TypeResolveTypeUID (lldb::user_id_t type_uid)
 
virtual uint32_t ResolveSymbolContext (const Address &so_addr, lldb::SymbolContextItem resolve_scope, SymbolContext &sc)
 
virtual uint32_t ResolveSymbolContext (const FileSpec &file_spec, uint32_t line, bool check_inlines, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list)
 
virtual size_t FindGlobalVariables (ConstString name, const CompilerDeclContext *parent_decl_ctx, size_t max_matches, VariableList &variables)
 
virtual size_t FindGlobalVariables (const RegularExpression &regex, size_t max_matches, VariableList &variables)
 
virtual size_t FindFunctions (ConstString name, const CompilerDeclContext *parent_decl_ctx, lldb::FunctionNameType name_type_mask, bool include_inlines, bool append, SymbolContextList &sc_list)
 
virtual size_t FindFunctions (const RegularExpression &regex, bool include_inlines, bool append, SymbolContextList &sc_list)
 
virtual size_t FindTypes (ConstString name, const CompilerDeclContext *parent_decl_ctx, bool append, size_t max_matches, llvm::DenseSet< lldb_private::SymbolFile *> &searched_symbol_files, TypeMap &types)
 
virtual size_t FindTypes (const std::vector< CompilerContext > &context, bool append, TypeMap &types)
 
virtual CompilerDeclContext FindNamespace (ConstString name, const CompilerDeclContext *parent_decl_ctx)
 
virtual size_t GetNumCompileUnits ()
 
virtual bool SetCompileUnitAtIndex (size_t cu_idx, const lldb::CompUnitSP &cu_sp)
 
virtual lldb::CompUnitSP GetCompileUnitAtIndex (size_t idx)
 
TypeListGetTypeList ()
 
const TypeListGetTypeList () const
 
virtual size_t GetTypes (SymbolContextScope *sc_scope, lldb::TypeClass type_mask, TypeList &type_list)
 
SymbolFileGetSymbolFile ()
 
FileSpec GetMainFileSpec () const
 
virtual SymtabGetSymtab ()
 
virtual void ClearSymtab ()
 
virtual void SectionFileAddressesChanged ()
 Notify the SymbolVendor that the file addresses in the Sections for this module have been changed. More...
 
- Public Member Functions inherited from lldb_private::ModuleChild
 ModuleChild (const lldb::ModuleSP &module_sp)
 Construct with owning module. More...
 
 ModuleChild (const ModuleChild &rhs)
 Copy constructor. More...
 
 ~ModuleChild ()
 Destructor. More...
 
const ModuleChildoperator= (const ModuleChild &rhs)
 Assignment operator. More...
 
lldb::ModuleSP GetModule () const
 Get const accessor for the module pointer. More...
 
void SetModule (const lldb::ModuleSP &module_sp)
 Set accessor for the module pointer. More...
 
- Public Member Functions inherited from lldb_private::PluginInterface
virtual ~PluginInterface ()
 

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static lldb_private::ConstString GetPluginNameStatic ()
 
static const char * GetPluginDescriptionStatic ()
 
static lldb_private::SymbolVendorCreateInstance (const lldb::ModuleSP &module_sp, lldb_private::Stream *feedback_strm)
 
- Static Public Member Functions inherited from lldb_private::SymbolVendor
static SymbolVendorFindPlugin (const lldb::ModuleSP &module_sp, Stream *feedback_strm)
 

Additional Inherited Members

- Protected Types inherited from lldb_private::SymbolVendor
typedef std::vector< lldb::CompUnitSP > CompileUnits
 
typedef CompileUnits::iterator CompileUnitIter
 
typedef CompileUnits::const_iterator CompileUnitConstIter
 
- Protected Attributes inherited from lldb_private::SymbolVendor
TypeList m_type_list
 
CompileUnits m_compile_units
 
lldb::ObjectFileSP m_objfile_sp
 
std::unique_ptr< SymbolFilem_sym_file_up
 
Symtabm_symtab
 
- Protected Attributes inherited from lldb_private::ModuleChild
lldb::ModuleWP m_module_wp
 The Module that owns the object that inherits from this class. More...
 

Detailed Description

Definition at line 15 of file SymbolVendorELF.h.

Constructor & Destructor Documentation

◆ SymbolVendorELF()

SymbolVendorELF::SymbolVendorELF ( const lldb::ModuleSP &  module_sp)

Definition at line 28 of file SymbolVendorELF.cpp.

Referenced by CreateInstance().

◆ ~SymbolVendorELF()

SymbolVendorELF::~SymbolVendorELF ( )
override

Definition at line 32 of file SymbolVendorELF.cpp.

Member Function Documentation

◆ CreateInstance()

SymbolVendor * SymbolVendorELF::CreateInstance ( const lldb::ModuleSP &  module_sp,
lldb_private::Stream feedback_strm 
)
static

◆ GetPluginDescriptionStatic()

const char * SymbolVendorELF::GetPluginDescriptionStatic ( )
static

Definition at line 48 of file SymbolVendorELF.cpp.

Referenced by Initialize().

◆ GetPluginName()

ConstString SymbolVendorELF::GetPluginName ( )
overridevirtual

Reimplemented from lldb_private::SymbolVendor.

Definition at line 160 of file SymbolVendorELF.cpp.

References GetPluginNameStatic().

◆ GetPluginNameStatic()

lldb_private::ConstString SymbolVendorELF::GetPluginNameStatic ( )
static

Definition at line 43 of file SymbolVendorELF.cpp.

Referenced by GetPluginName(), and Initialize().

◆ GetPluginVersion()

uint32_t SymbolVendorELF::GetPluginVersion ( )
overridevirtual

Reimplemented from lldb_private::SymbolVendor.

Definition at line 162 of file SymbolVendorELF.cpp.

◆ Initialize()

void SymbolVendorELF::Initialize ( )
static

◆ Terminate()

void SymbolVendorELF::Terminate ( )
static

Definition at line 39 of file SymbolVendorELF.cpp.

References CreateInstance().

Referenced by lldb_private::SystemInitializerFull::Terminate().


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