LLDB mainline
Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Private Attributes | Friends | List of all members
lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap Class Reference

#include <SymbolFileDWARFDebugMap.h>

Inheritance diagram for lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap:
Inheritance graph
[legend]

Classes

struct  CompileUnitInfo
 
class  OSOEntry
 
struct  OSOInfo
 

Public Member Functions

 SymbolFileDWARFDebugMap (lldb::ObjectFileSP objfile_sp)
 
 ~SymbolFileDWARFDebugMap () override
 
uint32_t CalculateAbilities () override
 
void InitializeObject () override
 Initialize the SymbolFile object.
 
lldb::LanguageType ParseLanguage (CompileUnit &comp_unit) override
 
XcodeSDK ParseXcodeSDK (CompileUnit &comp_unit) override
 Return the Xcode SDK comp_unit was compiled against.
 
llvm::SmallSet< lldb::LanguageType, 4 > ParseAllLanguages (CompileUnit &comp_unit) override
 This function exists because SymbolFileDWARFDebugMap may extra compile units which aren't exposed as "real" compile units.
 
size_t ParseFunctions (CompileUnit &comp_unit) override
 
bool ParseLineTable (CompileUnit &comp_unit) override
 
bool ParseDebugMacros (CompileUnit &comp_unit) override
 
bool ForEachExternalModule (CompileUnit &, llvm::DenseSet< SymbolFile * > &, llvm::function_ref< bool(Module &)>) override
 
bool ParseSupportFiles (CompileUnit &comp_unit, SupportFileList &support_files) override
 
bool ParseIsOptimized (CompileUnit &comp_unit) override
 
size_t ParseTypes (CompileUnit &comp_unit) override
 
bool ParseImportedModules (const SymbolContext &sc, std::vector< SourceModule > &imported_modules) override
 
size_t ParseBlocksRecursive (Function &func) override
 
size_t ParseVariablesForContext (const SymbolContext &sc) override
 
TypeResolveTypeUID (lldb::user_id_t type_uid) override
 
std::optional< ArrayInfoGetDynamicArrayInfoForUID (lldb::user_id_t type_uid, const ExecutionContext *exe_ctx) override
 If type_uid points to an array type, return its characteristics.
 
CompilerDeclContext GetDeclContextForUID (lldb::user_id_t uid) override
 
CompilerDeclContext GetDeclContextContainingUID (lldb::user_id_t uid) override
 
std::vector< CompilerContextGetCompilerContextForUID (lldb::user_id_t uid) override
 
void ParseDeclsForContext (CompilerDeclContext decl_ctx) override
 
bool CompleteType (CompilerType &compiler_type) override
 
uint32_t ResolveSymbolContext (const Address &so_addr, lldb::SymbolContextItem resolve_scope, SymbolContext &sc) override
 
uint32_t ResolveSymbolContext (const SourceLocationSpec &src_location_spec, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list) override
 
Status CalculateFrameVariableError (StackFrame &frame) override
 Subclasses will override this function to for GetFrameVariableError().
 
void FindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, VariableList &variables) override
 
void FindGlobalVariables (const RegularExpression &regex, uint32_t max_matches, VariableList &variables) override
 
void FindFunctions (const Module::LookupInfo &lookup_info, const CompilerDeclContext &parent_decl_ctx, bool include_inlines, SymbolContextList &sc_list) override
 
void FindFunctions (const RegularExpression &regex, bool include_inlines, SymbolContextList &sc_list) override
 
void FindTypes (const lldb_private::TypeQuery &match, lldb_private::TypeResults &results) override
 Find types using a type-matching object that contains all search parameters.
 
CompilerDeclContext FindNamespace (ConstString name, const CompilerDeclContext &parent_decl_ctx, bool only_root_namespaces) override
 Finds a namespace of name name and whose parent context is parent_decl_ctx.
 
void GetTypes (SymbolContextScope *sc_scope, lldb::TypeClass type_mask, TypeList &type_list) override
 
std::vector< std::unique_ptr< CallEdge > > ParseCallEdgesInFunction (UserID func_id) override
 
void DumpClangAST (Stream &s) override
 
bool GetSeparateDebugInfo (StructuredData::Dictionary &d, bool errors_only) override
 List separate oso files.
 
llvm::StringRef GetPluginName () override
 
ModuleList GetDebugInfoModules () override
 Get the additional modules that this symbol file uses to parse debug info.
 
void GetCompileOptions (std::unordered_map< lldb::CompUnitSP, Args > &args) override
 
- Public Member Functions inherited from lldb_private::SymbolFileCommon
 SymbolFileCommon (lldb::ObjectFileSP objfile_sp)
 
 ~SymbolFileCommon () override=default
 
uint32_t GetAbilities () override
 Get a mask of what this symbol file supports for the object file that it was constructed with.
 
SymtabGetSymtab () override
 
ObjectFileGetObjectFile () override
 
const ObjectFileGetObjectFile () const override
 
ObjectFileGetMainObjectFile () override
 
void SectionFileAddressesChanged () override
 Notify the SymbolFile that the file addresses in the Sections for this module have been changed.
 
uint32_t GetNumCompileUnits () override
 
lldb::CompUnitSP GetCompileUnitAtIndex (uint32_t idx) override
 
llvm::Expected< lldb::TypeSystemSPGetTypeSystemForLanguage (lldb::LanguageType language) override
 
void Dump (Stream &s) override
 
uint64_t GetDebugInfoSize (bool load_all_debug_info=false) override
 Metrics gathering functions.
 
bool GetDebugInfoIndexWasLoadedFromCache () const override
 Accessors for the bool that indicates if the debug info index was loaded from, or saved to the module index cache.
 
void SetDebugInfoIndexWasLoadedFromCache () override
 
bool GetDebugInfoIndexWasSavedToCache () const override
 
void SetDebugInfoIndexWasSavedToCache () override
 
bool GetDebugInfoHadFrameVariableErrors () const override
 Accessors for the bool that indicates if there was debug info, but errors stopped variables from being able to be displayed correctly.
 
void SetDebugInfoHadFrameVariableErrors () override
 
lldb::TypeSP MakeType (lldb::user_id_t uid, ConstString name, std::optional< uint64_t > byte_size, SymbolContextScope *context, lldb::user_id_t encoding_uid, Type::EncodingDataType encoding_uid_type, const Declaration &decl, const CompilerType &compiler_qual_type, Type::ResolveState compiler_type_resolve_state, uint32_t opaque_payload=0) override
 This function is used to create types that belong to a SymbolFile.
 
lldb::TypeSP CopyType (const lldb::TypeSP &other_type) override
 
- Public Member Functions inherited from lldb_private::SymbolFile
 SymbolFile ()=default
 
 ~SymbolFile () override=default
 
virtual SymbolFileGetBackingSymbolFile ()
 SymbolFileOnDemand class overrides this to return the underlying backing SymbolFile implementation that loads on-demand.
 
virtual uint32_t GetAbilities ()=0
 Get a mask of what this symbol file supports for the object file that it was constructed with.
 
virtual uint32_t CalculateAbilities ()=0
 
virtual std::recursive_mutex & GetModuleMutex () const
 Symbols file subclasses should override this to return the Module that owns the TypeSystem that this symbol file modifies type information in.
 
virtual void InitializeObject ()
 Initialize the SymbolFile object.
 
virtual bool GetLoadDebugInfoEnabled ()
 Whether debug info will be loaded or not.
 
virtual void SetLoadDebugInfoEnabled ()
 Specify debug info should be loaded.
 
virtual uint32_t GetNumCompileUnits ()=0
 
virtual lldb::CompUnitSP GetCompileUnitAtIndex (uint32_t idx)=0
 
virtual SymtabGetSymtab ()=0
 
virtual lldb::LanguageType ParseLanguage (CompileUnit &comp_unit)=0
 
virtual XcodeSDK ParseXcodeSDK (CompileUnit &comp_unit)
 Return the Xcode SDK comp_unit was compiled against.
 
virtual llvm::SmallSet< lldb::LanguageType, 4 > ParseAllLanguages (CompileUnit &comp_unit)
 This function exists because SymbolFileDWARFDebugMap may extra compile units which aren't exposed as "real" compile units.
 
virtual size_t ParseFunctions (CompileUnit &comp_unit)=0
 
virtual bool ParseLineTable (CompileUnit &comp_unit)=0
 
virtual bool ParseDebugMacros (CompileUnit &comp_unit)=0
 
virtual bool ForEachExternalModule (lldb_private::CompileUnit &comp_unit, llvm::DenseSet< lldb_private::SymbolFile * > &visited_symbol_files, llvm::function_ref< bool(Module &)> lambda)
 Apply a lambda to each external lldb::Module referenced by this comp_unit.
 
virtual bool ParseSupportFiles (CompileUnit &comp_unit, SupportFileList &support_files)=0
 
virtual size_t ParseTypes (CompileUnit &comp_unit)=0
 
virtual bool ParseIsOptimized (CompileUnit &comp_unit)
 
virtual bool ParseImportedModules (const SymbolContext &sc, std::vector< SourceModule > &imported_modules)=0
 
virtual size_t ParseBlocksRecursive (Function &func)=0
 
virtual size_t ParseVariablesForContext (const SymbolContext &sc)=0
 
virtual TypeResolveTypeUID (lldb::user_id_t type_uid)=0
 
virtual std::optional< ArrayInfoGetDynamicArrayInfoForUID (lldb::user_id_t type_uid, const lldb_private::ExecutionContext *exe_ctx)=0
 If type_uid points to an array type, return its characteristics.
 
virtual bool CompleteType (CompilerType &compiler_type)=0
 
virtual void ParseDeclsForContext (CompilerDeclContext decl_ctx)
 
virtual CompilerDecl GetDeclForUID (lldb::user_id_t uid)
 
virtual CompilerDeclContext GetDeclContextForUID (lldb::user_id_t uid)
 
virtual CompilerDeclContext GetDeclContextContainingUID (lldb::user_id_t uid)
 
virtual std::vector< CompilerContextGetCompilerContextForUID (lldb::user_id_t uid)
 
virtual uint32_t ResolveSymbolContext (const Address &so_addr, lldb::SymbolContextItem resolve_scope, SymbolContext &sc)=0
 
Status GetFrameVariableError (StackFrame &frame)
 Get an error that describes why variables might be missing for a given symbol context.
 
virtual Status CalculateFrameVariableError (StackFrame &frame)
 Subclasses will override this function to for GetFrameVariableError().
 
virtual uint32_t ResolveSymbolContext (const SourceLocationSpec &src_location_spec, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list)
 
virtual void DumpClangAST (Stream &s)
 
virtual void FindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, VariableList &variables)
 
virtual void FindGlobalVariables (const RegularExpression &regex, uint32_t max_matches, VariableList &variables)
 
virtual void FindFunctions (const Module::LookupInfo &lookup_info, const CompilerDeclContext &parent_decl_ctx, bool include_inlines, SymbolContextList &sc_list)
 
virtual void FindFunctions (const RegularExpression &regex, bool include_inlines, SymbolContextList &sc_list)
 
virtual void FindTypes (const TypeQuery &query, TypeResults &results)
 Find types using a type-matching object that contains all search parameters.
 
virtual void GetMangledNamesForFunction (const std::string &scope_qualified_name, std::vector< ConstString > &mangled_names)
 
virtual void GetTypes (lldb_private::SymbolContextScope *sc_scope, lldb::TypeClass type_mask, lldb_private::TypeList &type_list)=0
 
virtual void PreloadSymbols ()
 
virtual llvm::Expected< lldb::TypeSystemSPGetTypeSystemForLanguage (lldb::LanguageType language)=0
 
virtual CompilerDeclContext FindNamespace (ConstString name, const CompilerDeclContext &parent_decl_ctx, bool only_root_namespaces=false)
 Finds a namespace of name name and whose parent context is parent_decl_ctx.
 
virtual ObjectFileGetObjectFile ()=0
 
virtual const ObjectFileGetObjectFile () const =0
 
virtual ObjectFileGetMainObjectFile ()=0
 
virtual std::vector< std::unique_ptr< CallEdge > > ParseCallEdgesInFunction (UserID func_id)
 
virtual void AddSymbols (Symtab &symtab)
 
virtual void SectionFileAddressesChanged ()=0
 Notify the SymbolFile that the file addresses in the Sections for this module have been changed.
 
virtual lldb::UnwindPlanSP GetUnwindPlan (const Address &address, const RegisterInfoResolver &resolver)
 
virtual llvm::Expected< lldb::addr_tGetParameterStackSize (Symbol &symbol)
 Return the number of stack bytes taken up by the parameters to this function.
 
virtual void Dump (Stream &s)=0
 
virtual uint64_t GetDebugInfoSize (bool load_all_debug_info=false)=0
 Metrics gathering functions.
 
virtual StatsDuration::Duration GetDebugInfoParseTime ()
 Return the time taken to parse the debug information.
 
virtual StatsDuration::Duration GetDebugInfoIndexTime ()
 Return the time it took to index the debug information in the object file.
 
virtual ModuleList GetDebugInfoModules ()
 Get the additional modules that this symbol file uses to parse debug info.
 
virtual bool GetDebugInfoHadFrameVariableErrors () const =0
 Accessors for the bool that indicates if there was debug info, but errors stopped variables from being able to be displayed correctly.
 
virtual void SetDebugInfoHadFrameVariableErrors ()=0
 
virtual bool GetSeparateDebugInfo (StructuredData::Dictionary &d, bool errors_only)
 Return true if separate debug info files are supported and this function succeeded, false otherwise.
 
virtual lldb::TypeSP MakeType (lldb::user_id_t uid, ConstString name, std::optional< uint64_t > byte_size, SymbolContextScope *context, lldb::user_id_t encoding_uid, Type::EncodingDataType encoding_uid_type, const Declaration &decl, const CompilerType &compiler_qual_type, Type::ResolveState compiler_type_resolve_state, uint32_t opaque_payload=0)=0
 
virtual lldb::TypeSP CopyType (const lldb::TypeSP &other_type)=0
 
std::unordered_map< lldb::CompUnitSP, ArgsGetCompileOptions ()
 Returns a map of compilation unit to the compile option arguments associated with that compilation unit.
 
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
 
virtual ~PluginInterface ()=default
 
virtual llvm::StringRef GetPluginName ()=0
 
 PluginInterface (const PluginInterface &)=delete
 
PluginInterfaceoperator= (const PluginInterface &)=delete
 

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static llvm::StringRef GetPluginNameStatic ()
 
static llvm::StringRef GetPluginDescriptionStatic ()
 
static SymbolFileCreateInstance (lldb::ObjectFileSP objfile_sp)
 
- Static Public Member Functions inherited from lldb_private::SymbolFileCommon
static bool classof (const SymbolFileCommon *obj)
 
- Static Public Member Functions inherited from lldb_private::SymbolFile
static SymbolFileFindPlugin (lldb::ObjectFileSP objfile_sp)
 
static bool classof (const SymbolFile *obj)
 

Protected Types

enum  { kHaveInitializedOSOs = (1 << 0) , kNumFlags }
 
typedef std::shared_ptr< OSOInfoOSOInfoSP
 
typedef RangeDataVector< lldb::addr_t, lldb::addr_t, lldb::addr_tFileRangeMap
 
typedef RangeDataVector< lldb::addr_t, lldb::addr_t, OSOEntryDebugMap
 

Protected Member Functions

void InitOSO ()
 
uint32_t CalculateNumCompileUnits () override
 This function actually returns the number of object files, which may be less than the actual number of compile units, since an object file may contain more than one compile unit.
 
lldb::CompUnitSP ParseCompileUnitAtIndex (uint32_t index) override
 This function actually returns the first compile unit the object file at the given index contains.
 
bool GetFileSpecForSO (uint32_t oso_idx, FileSpec &file_spec)
 
CompileUnitInfoGetCompUnitInfo (const SymbolContext &sc)
 
CompileUnitInfoGetCompUnitInfo (const CompileUnit &comp_unit)
 
size_t GetCompUnitInfosForModule (const Module *oso_module, std::vector< CompileUnitInfo * > &cu_infos)
 
ModuleGetModuleByCompUnitInfo (CompileUnitInfo *comp_unit_info)
 
ModuleGetModuleByOSOIndex (uint32_t oso_idx)
 
ObjectFileGetObjectFileByCompUnitInfo (CompileUnitInfo *comp_unit_info)
 
ObjectFileGetObjectFileByOSOIndex (uint32_t oso_idx)
 
uint32_t GetCompUnitInfoIndex (const CompileUnitInfo *comp_unit_info)
 
SymbolFileDWARFGetSymbolFile (const SymbolContext &sc)
 
SymbolFileDWARFGetSymbolFile (const CompileUnit &comp_unit)
 
SymbolFileDWARFGetSymbolFileByCompUnitInfo (CompileUnitInfo *comp_unit_info)
 
SymbolFileDWARFGetSymbolFileByOSOIndex (uint32_t oso_idx)
 
void ForEachSymbolFile (std::function< IterationAction(SymbolFileDWARF *)> closure)
 If closure returns IterationAction::Continue, iteration continues.
 
CompileUnitInfoGetCompileUnitInfoForSymbolWithIndex (uint32_t symbol_idx, uint32_t *oso_idx_ptr)
 
CompileUnitInfoGetCompileUnitInfoForSymbolWithID (lldb::user_id_t symbol_id, uint32_t *oso_idx_ptr)
 
void PrivateFindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, const std::vector< uint32_t > &name_symbol_indexes, uint32_t max_matches, VariableList &variables)
 
void SetCompileUnit (SymbolFileDWARF *oso_dwarf, const lldb::CompUnitSP &cu_sp)
 
lldb::CompUnitSP GetCompileUnit (SymbolFileDWARF *oso_dwarf, DWARFCompileUnit &dwarf_cu)
 Returns the compile unit associated with the dwarf compile unit.
 
CompileUnitInfoGetCompileUnitInfo (SymbolFileDWARF *oso_dwarf)
 
DWARFDIE FindDefinitionDIE (const DWARFDIE &die)
 
bool Supports_DW_AT_APPLE_objc_complete_type (SymbolFileDWARF *skip_dwarf_oso)
 
lldb::TypeSP FindCompleteObjCDefinitionTypeForDIE (const DWARFDIE &die, ConstString type_name, bool must_be_implementation)
 
llvm::DenseMap< lldb::opaque_compiler_type_t, DIERef > & GetForwardDeclCompilerTypeToDIE ()
 
UniqueDWARFASTTypeMapGetUniqueDWARFASTTypeMap ()
 
bool AddOSOFileRange (CompileUnitInfo *cu_info, lldb::addr_t exe_file_addr, lldb::addr_t exe_byte_size, lldb::addr_t oso_file_addr, lldb::addr_t oso_byte_size)
 
void FinalizeOSOFileRanges (CompileUnitInfo *cu_info)
 
bool LinkOSOAddress (Address &addr)
 Convert addr from a .o file address, to an executable address.
 
lldb::addr_t LinkOSOFileAddress (SymbolFileDWARF *oso_symfile, lldb::addr_t oso_file_addr)
 Convert a .o file "file address" to an executable "file address".
 
LineTableLinkOSOLineTable (SymbolFileDWARF *oso_symfile, LineTable *line_table)
 Given a line table full of lines with "file addresses" that are for a .o file represented by oso_symfile, link a new line table and return it.
 
size_t AddOSOARanges (SymbolFileDWARF *dwarf2Data, DWARFDebugAranges *debug_aranges)
 
- Protected Member Functions inherited from lldb_private::SymbolFileCommon
virtual uint32_t CalculateNumCompileUnits ()=0
 
virtual lldb::CompUnitSP ParseCompileUnitAtIndex (uint32_t idx)=0
 
virtual TypeListGetTypeList ()
 
void SetCompileUnitAtIndex (uint32_t idx, const lldb::CompUnitSP &cu_sp)
 
- Protected Member Functions inherited from lldb_private::SymbolFile
void AssertModuleLock ()
 
virtual void GetCompileOptions (std::unordered_map< lldb::CompUnitSP, lldb_private::Args > &args)
 

Static Protected Member Functions

static uint32_t GetOSOIndexFromUserID (lldb::user_id_t uid)
 
static SymbolFileDWARFGetSymbolFileAsSymbolFileDWARF (SymbolFile *sym_file)
 
static int SymbolContainsSymbolWithIndex (uint32_t *symbol_idx_ptr, const CompileUnitInfo *comp_unit_info)
 
static int SymbolContainsSymbolWithID (lldb::user_id_t *symbol_idx_ptr, const CompileUnitInfo *comp_unit_info)
 

Protected Attributes

std::bitset< kNumFlagsm_flags
 
std::vector< CompileUnitInfom_compile_unit_infos
 
std::vector< uint32_t > m_func_indexes
 
std::vector< uint32_t > m_glob_indexes
 
std::map< std::pair< ConstString, llvm::sys::TimePoint<> >, OSOInfoSPm_oso_map
 
llvm::DenseMap< lldb::opaque_compiler_type_t, DIERefm_forward_decl_compiler_type_to_die
 
UniqueDWARFASTTypeMap m_unique_ast_type_map
 
LazyBool m_supports_DW_AT_APPLE_objc_complete_type
 
DebugMap m_debug_map
 
- Protected Attributes inherited from lldb_private::SymbolFileCommon
lldb::ObjectFileSP m_objfile_sp
 
std::optional< std::vector< lldb::CompUnitSP > > m_compile_units
 
TypeList m_type_list
 
uint32_t m_abilities = 0
 
bool m_calculated_abilities = false
 
bool m_index_was_loaded_from_cache = false
 
bool m_index_was_saved_to_cache = false
 
bool m_debug_info_had_variable_errors = false
 Set to true if any variable feteching errors have been found when calling GetFrameVariableError().
 

Static Private Attributes

static char ID
 LLVM RTTI support.
 

Friends

class DebugMapModule
 
class ::DWARFASTParserClang
 
class DWARFCompileUnit
 
class SymbolFileDWARF
 
bool isA (const void *ClassID) const override
 LLVM RTTI support.
 
static bool classof (const SymbolFile *obj)
 

Additional Inherited Members

- Public Types inherited from lldb_private::SymbolFile
enum  Abilities {
  CompileUnits = (1u << 0) , LineTables = (1u << 1) , Functions = (1u << 2) , Blocks = (1u << 3) ,
  GlobalVariables = (1u << 4) , LocalVariables = (1u << 5) , VariableTypes = (1u << 6) , kAllAbilities = ((1u << 7) - 1u)
}
 

Detailed Description

Definition at line 34 of file SymbolFileDWARFDebugMap.h.

Member Typedef Documentation

◆ DebugMap

Definition at line 321 of file SymbolFileDWARFDebugMap.h.

◆ FileRangeMap

Definition at line 163 of file SymbolFileDWARFDebugMap.h.

◆ OSOInfoSP

Definition at line 160 of file SymbolFileDWARFDebugMap.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kHaveInitializedOSOs 
kNumFlags 

Definition at line 148 of file SymbolFileDWARFDebugMap.h.

Constructor & Destructor Documentation

◆ SymbolFileDWARFDebugMap()

SymbolFileDWARFDebugMap::SymbolFileDWARFDebugMap ( lldb::ObjectFileSP  objfile_sp)

Definition at line 250 of file SymbolFileDWARFDebugMap.cpp.

◆ ~SymbolFileDWARFDebugMap()

SymbolFileDWARFDebugMap::~SymbolFileDWARFDebugMap ( )
overridedefault

Member Function Documentation

◆ AddOSOARanges()

size_t SymbolFileDWARFDebugMap::AddOSOARanges ( SymbolFileDWARF dwarf2Data,
DWARFDebugAranges debug_aranges 
)
protected

◆ AddOSOFileRange()

bool SymbolFileDWARFDebugMap::AddOSOFileRange ( CompileUnitInfo cu_info,
lldb::addr_t  exe_file_addr,
lldb::addr_t  exe_byte_size,
lldb::addr_t  oso_file_addr,
lldb::addr_t  oso_byte_size 
)
protected

◆ CalculateAbilities()

uint32_t SymbolFileDWARFDebugMap::CalculateAbilities ( )
overridevirtual

◆ CalculateFrameVariableError()

Status SymbolFileDWARFDebugMap::CalculateFrameVariableError ( StackFrame frame)
overridevirtual

◆ CalculateNumCompileUnits()

uint32_t SymbolFileDWARFDebugMap::CalculateNumCompileUnits ( )
overrideprotectedvirtual

This function actually returns the number of object files, which may be less than the actual number of compile units, since an object file may contain more than one compile unit.

SymbolFileDWARFDebugMap looks up the number of compile units by reading the nlist symbol table, which currently, on macOS, only reports one compile unit per object file, and there's no efficient way to calculate the actual number of compile units upfront.

Implements lldb_private::SymbolFileCommon.

Definition at line 584 of file SymbolFileDWARFDebugMap.cpp.

References InitOSO(), and m_compile_unit_infos.

◆ classof()

static bool lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::classof ( const SymbolFile obj)
inlinestatic

Definition at line 44 of file SymbolFileDWARFDebugMap.h.

References ID, and lldb_private::SymbolFile::isA().

◆ CompleteType()

bool SymbolFileDWARFDebugMap::CompleteType ( CompilerType compiler_type)
overridevirtual

◆ CreateInstance()

SymbolFile * SymbolFileDWARFDebugMap::CreateInstance ( lldb::ObjectFileSP  objfile_sp)
static

Definition at line 246 of file SymbolFileDWARFDebugMap.cpp.

Referenced by Initialize(), and Terminate().

◆ DumpClangAST()

void SymbolFileDWARFDebugMap::DumpClangAST ( Stream s)
overridevirtual

◆ FinalizeOSOFileRanges()

void SymbolFileDWARFDebugMap::FinalizeOSOFileRanges ( CompileUnitInfo cu_info)
protected

◆ FindCompleteObjCDefinitionTypeForDIE()

TypeSP SymbolFileDWARFDebugMap::FindCompleteObjCDefinitionTypeForDIE ( const DWARFDIE die,
ConstString  type_name,
bool  must_be_implementation 
)
protected

◆ FindDefinitionDIE()

DWARFDIE SymbolFileDWARFDebugMap::FindDefinitionDIE ( const DWARFDIE die)
protected

◆ FindFunctions() [1/2]

void SymbolFileDWARFDebugMap::FindFunctions ( const Module::LookupInfo lookup_info,
const CompilerDeclContext parent_decl_ctx,
bool  include_inlines,
SymbolContextList sc_list 
)
overridevirtual

◆ FindFunctions() [2/2]

void SymbolFileDWARFDebugMap::FindFunctions ( const RegularExpression regex,
bool  include_inlines,
SymbolContextList sc_list 
)
overridevirtual

◆ FindGlobalVariables() [1/2]

void SymbolFileDWARFDebugMap::FindGlobalVariables ( const RegularExpression regex,
uint32_t  max_matches,
VariableList variables 
)
overridevirtual

◆ FindGlobalVariables() [2/2]

void SymbolFileDWARFDebugMap::FindGlobalVariables ( ConstString  name,
const CompilerDeclContext parent_decl_ctx,
uint32_t  max_matches,
VariableList variables 
)
overridevirtual

◆ FindNamespace()

CompilerDeclContext SymbolFileDWARFDebugMap::FindNamespace ( lldb_private::ConstString  name,
const CompilerDeclContext parent_decl_ctx,
bool  only_root_namespaces 
)
overridevirtual

Finds a namespace of name name and whose parent context is parent_decl_ctx.

If

!parent_decl_ctx.IsValid()

then this function will consider all namespaces that match the name. If only_root_namespaces is true, only consider in the search those DIEs that represent top-level namespaces.

Reimplemented from lldb_private::SymbolFile.

Definition at line 1249 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::Continue, lldb_private::plugin::dwarf::SymbolFileDWARF::FindNamespace(), ForEachSymbolFile(), lldb_private::SymbolFile::GetModuleMutex(), and lldb_private::Stop.

◆ FindTypes()

void SymbolFileDWARFDebugMap::FindTypes ( const lldb_private::TypeQuery query,
lldb_private::TypeResults results 
)
overridevirtual

Find types using a type-matching object that contains all search parameters.

See also
lldb_private::TypeQuery
Parameters
[in]queryA type matching object that contains all of the details of the type search.
[in]resultsAny matching types will be populated into the results object using TypeMap::InsertUnique(...).

Reimplemented from lldb_private::SymbolFile.

Definition at line 1239 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::Continue, lldb_private::TypeResults::Done(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindTypes(), ForEachSymbolFile(), lldb_private::SymbolFile::GetModuleMutex(), and lldb_private::Stop.

◆ ForEachExternalModule()

bool SymbolFileDWARFDebugMap::ForEachExternalModule ( CompileUnit ,
llvm::DenseSet< SymbolFile * > &  ,
llvm::function_ref< bool(Module &)>   
)
override

◆ ForEachSymbolFile()

void lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::ForEachSymbolFile ( std::function< IterationAction(SymbolFileDWARF *)>  closure)
inlineprotected

◆ GetCompileOptions()

void SymbolFileDWARFDebugMap::GetCompileOptions ( std::unordered_map< lldb::CompUnitSP, Args > &  args)
override

◆ GetCompilerContextForUID()

std::vector< CompilerContext > SymbolFileDWARFDebugMap::GetCompilerContextForUID ( lldb::user_id_t  uid)
overridevirtual

◆ GetCompileUnit()

lldb::CompUnitSP SymbolFileDWARFDebugMap::GetCompileUnit ( SymbolFileDWARF oso_dwarf,
DWARFCompileUnit dwarf_cu 
)
protected

Returns the compile unit associated with the dwarf compile unit.

This may be one of the extra compile units an object file contains which isn't reachable by ParseCompileUnitAtIndex(uint32_t).

Definition at line 1314 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::UserID::GetID(), lldb_private::SymbolFileCommon::GetNumCompileUnits(), GetSymbolFileByCompUnitInfo(), m_compile_unit_infos, and ParseCompileUnitAtIndex().

Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::ParseCompileUnit().

◆ GetCompileUnitInfo()

SymbolFileDWARFDebugMap::CompileUnitInfo * SymbolFileDWARFDebugMap::GetCompileUnitInfo ( SymbolFileDWARF oso_dwarf)
protected

◆ GetCompileUnitInfoForSymbolWithID()

SymbolFileDWARFDebugMap::CompileUnitInfo * SymbolFileDWARFDebugMap::GetCompileUnitInfoForSymbolWithID ( lldb::user_id_t  symbol_id,
uint32_t *  oso_idx_ptr 
)
protected

◆ GetCompileUnitInfoForSymbolWithIndex()

SymbolFileDWARFDebugMap::CompileUnitInfo * SymbolFileDWARFDebugMap::GetCompileUnitInfoForSymbolWithIndex ( uint32_t  symbol_idx,
uint32_t *  oso_idx_ptr 
)
protected

◆ GetCompUnitInfo() [1/2]

SymbolFileDWARFDebugMap::CompileUnitInfo * SymbolFileDWARFDebugMap::GetCompUnitInfo ( const CompileUnit comp_unit)
protected

◆ GetCompUnitInfo() [2/2]

SymbolFileDWARFDebugMap::CompileUnitInfo * SymbolFileDWARFDebugMap::GetCompUnitInfo ( const SymbolContext sc)
protected

◆ GetCompUnitInfoIndex()

uint32_t SymbolFileDWARFDebugMap::GetCompUnitInfoIndex ( const CompileUnitInfo comp_unit_info)
protected

Definition at line 530 of file SymbolFileDWARFDebugMap.cpp.

References m_compile_unit_infos, and UINT32_MAX.

Referenced by GetModuleByCompUnitInfo().

◆ GetCompUnitInfosForModule()

size_t SymbolFileDWARFDebugMap::GetCompUnitInfosForModule ( const Module oso_module,
std::vector< CompileUnitInfo * > &  cu_infos 
)
protected

◆ GetDebugInfoModules()

ModuleList SymbolFileDWARFDebugMap::GetDebugInfoModules ( )
overridevirtual

Get the additional modules that this symbol file uses to parse debug info.

Some debug info is stored in stand alone object files that are represented by unique modules that will show up in the statistics module list. Return a list of modules that are not in the target module list that this symbol file is currently using so that they can be tracked and assoicated with the module in the statistics.

Reimplemented from lldb_private::SymbolFile.

Definition at line 1530 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::ModuleList::Append(), lldb_private::Continue, ForEachSymbolFile(), lldb_private::ModuleChild::GetModule(), and lldb_private::SymbolFileCommon::GetObjectFile().

◆ GetDeclContextContainingUID()

CompilerDeclContext SymbolFileDWARFDebugMap::GetDeclContextContainingUID ( lldb::user_id_t  uid)
overridevirtual

◆ GetDeclContextForUID()

CompilerDeclContext SymbolFileDWARFDebugMap::GetDeclContextForUID ( lldb::user_id_t  uid)
overridevirtual

◆ GetDynamicArrayInfoForUID()

std::optional< SymbolFile::ArrayInfo > SymbolFileDWARFDebugMap::GetDynamicArrayInfoForUID ( lldb::user_id_t  type_uid,
const ExecutionContext exe_ctx 
)
overridevirtual

If type_uid points to an array type, return its characteristics.

To support variable-length array types, this function takes an optional ExecutionContext. If exe_ctx is non-null, the dynamic characteristics for that context are returned.

Implements lldb_private::SymbolFile.

Definition at line 795 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::plugin::dwarf::SymbolFileDWARF::GetDynamicArrayInfoForUID(), GetOSOIndexFromUserID(), and GetSymbolFileByOSOIndex().

◆ GetFileSpecForSO()

bool SymbolFileDWARFDebugMap::GetFileSpecForSO ( uint32_t  oso_idx,
FileSpec file_spec 
)
protected

Definition at line 491 of file SymbolFileDWARFDebugMap.cpp.

References m_compile_unit_infos.

Referenced by ParseCompileUnitAtIndex().

◆ GetForwardDeclCompilerTypeToDIE()

llvm::DenseMap< lldb::opaque_compiler_type_t, DIERef > & lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetForwardDeclCompilerTypeToDIE ( )
inlineprotected

Definition at line 288 of file SymbolFileDWARFDebugMap.h.

References m_forward_decl_compiler_type_to_die.

◆ GetModuleByCompUnitInfo()

Module * SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo ( CompileUnitInfo comp_unit_info)
protected

◆ GetModuleByOSOIndex()

Module * SymbolFileDWARFDebugMap::GetModuleByOSOIndex ( uint32_t  oso_idx)
protected

◆ GetObjectFileByCompUnitInfo()

ObjectFile * SymbolFileDWARFDebugMap::GetObjectFileByCompUnitInfo ( CompileUnitInfo comp_unit_info)
protected

◆ GetObjectFileByOSOIndex()

ObjectFile * SymbolFileDWARFDebugMap::GetObjectFileByOSOIndex ( uint32_t  oso_idx)
protected

◆ GetOSOIndexFromUserID()

static uint32_t lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetOSOIndexFromUserID ( lldb::user_id_t  uid)
inlinestaticprotected

◆ GetPluginDescriptionStatic()

llvm::StringRef SymbolFileDWARFDebugMap::GetPluginDescriptionStatic ( )
static

Definition at line 242 of file SymbolFileDWARFDebugMap.cpp.

Referenced by Initialize().

◆ GetPluginName()

llvm::StringRef lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetPluginName ( )
inlineoverridevirtual

Implements lldb_private::PluginInterface.

Definition at line 139 of file SymbolFileDWARFDebugMap.h.

References GetPluginNameStatic().

◆ GetPluginNameStatic()

static llvm::StringRef lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetPluginNameStatic ( )
inlinestatic

Definition at line 52 of file SymbolFileDWARFDebugMap.h.

Referenced by GetPluginName(), and Initialize().

◆ GetSeparateDebugInfo()

bool SymbolFileDWARFDebugMap::GetSeparateDebugInfo ( StructuredData::Dictionary d,
bool  errors_only 
)
overridevirtual

◆ GetSymbolFile() [1/2]

SymbolFileDWARF * SymbolFileDWARFDebugMap::GetSymbolFile ( const CompileUnit comp_unit)
protected

◆ GetSymbolFile() [2/2]

SymbolFileDWARF * SymbolFileDWARFDebugMap::GetSymbolFile ( const SymbolContext sc)
protected

◆ GetSymbolFileAsSymbolFileDWARF()

SymbolFileDWARF * SymbolFileDWARFDebugMap::GetSymbolFileAsSymbolFileDWARF ( SymbolFile sym_file)
staticprotected

◆ GetSymbolFileByCompUnitInfo()

SymbolFileDWARF * SymbolFileDWARFDebugMap::GetSymbolFileByCompUnitInfo ( CompileUnitInfo comp_unit_info)
protected

◆ GetSymbolFileByOSOIndex()

SymbolFileDWARF * SymbolFileDWARFDebugMap::GetSymbolFileByOSOIndex ( uint32_t  oso_idx)
protected

◆ GetTypes()

void SymbolFileDWARFDebugMap::GetTypes ( SymbolContextScope sc_scope,
lldb::TypeClass  type_mask,
TypeList type_list 
)
overridevirtual

◆ GetUniqueDWARFASTTypeMap()

UniqueDWARFASTTypeMap & lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetUniqueDWARFASTTypeMap ( )
inlineprotected

◆ Initialize()

void SymbolFileDWARFDebugMap::Initialize ( )
static

◆ InitializeObject()

void SymbolFileDWARFDebugMap::InitializeObject ( )
overridevirtual

Initialize the SymbolFile object.

The SymbolFile object with the best set of abilities (detected in "uint32_t SymbolFile::GetAbilities()) will have this function called if it is chosen to parse an object file. More complete initialization can happen in this function which will get called prior to any other functions in the SymbolFile protocol.

Reimplemented from lldb_private::SymbolFile.

Definition at line 257 of file SymbolFileDWARFDebugMap.cpp.

◆ InitOSO()

void SymbolFileDWARFDebugMap::InitOSO ( )
protected

Definition at line 259 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::RangeDataVector< B, S, T, N, Compare >::Append(), lldb_private::Symtab::AppendSymbolIndexesWithType(), lldb_private::Symtab::AppendSymbolIndexesWithTypeAndFlagsValue(), lldb_private::ConstString::AsCString(), lldb_private::DebugMap, lldb_private::Symtab::eDebugYes, lldb::eSymbolTypeCode, lldb::eSymbolTypeData, lldb::eSymbolTypeObjectFile, lldb::eSymbolTypeSourceFile, lldb_private::ObjectFile::eTypeCoreFile, lldb_private::ObjectFile::eTypeDebugInfo, lldb_private::ObjectFile::eTypeDynamicLinker, lldb_private::ObjectFile::eTypeExecutable, lldb_private::ObjectFile::eTypeInvalid, lldb_private::ObjectFile::eTypeJIT, lldb_private::ObjectFile::eTypeObjectFile, lldb_private::ObjectFile::eTypeSharedLibrary, lldb_private::ObjectFile::eTypeStubLibrary, lldb_private::ObjectFile::eTypeUnknown, lldb_private::Symtab::eVisibilityAny, lldb_private::Symbol::GetAddressRef(), lldb_private::Symbol::GetByteSize(), lldb_private::ConstString::GetCString(), lldb_private::Address::GetFileAddress(), lldb_private::Symbol::GetID(), lldb_private::Symbol::GetIntegerValue(), lldb_private::GetLog(), lldb_private::Symbol::GetName(), lldb_private::Symbol::GetSiblingIndex(), lldb_private::Symbol::GetType(), kHaveInitializedOSOs, LLDB_INVALID_ADDRESS, LLDB_LOGF, m_compile_unit_infos, m_debug_map, m_flags, m_func_indexes, m_glob_indexes, lldb_private::SymbolFileCommon::m_objfile_sp, lldb_private::RangeDataVector< B, S, T, N, Compare >::Sort(), lldb_private::Symtab::SortSymbolIndexesByValue(), lldb_private::Symtab::SymbolAtIndex(), and UINT32_MAX.

Referenced by CalculateAbilities(), and CalculateNumCompileUnits().

◆ isA()

bool lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::isA ( const void *  ClassID) const
inlineoverridevirtual

LLVM RTTI support.

Reimplemented from lldb_private::SymbolFileCommon.

Definition at line 41 of file SymbolFileDWARFDebugMap.h.

References ID, and lldb_private::SymbolFileCommon::isA().

◆ LinkOSOAddress()

bool SymbolFileDWARFDebugMap::LinkOSOAddress ( Address addr)
protected

◆ LinkOSOFileAddress()

lldb::addr_t SymbolFileDWARFDebugMap::LinkOSOFileAddress ( SymbolFileDWARF oso_symfile,
lldb::addr_t  oso_file_addr 
)
protected

Convert a .o file "file address" to an executable "file address".

Parameters
[in]oso_symfileThe DWARF symbol file that contains oso_file_addr
[in]oso_file_addrA .o file "file address" to convert.
Returns
LLDB_INVALID_ADDRESS if oso_file_addr is not in the linked executable, otherwise a valid "file address" from the linked executable that contains the debug map.

Definition at line 1450 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::RangeData< B, S, T >::data, lldb_private::RangeDataVector< B, S, T, N, Compare >::FindEntryThatContains(), GetCompileUnitInfo(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), lldb_private::Range< B, S >::GetRangeBase(), LLDB_INVALID_ADDRESS, and m_debug_map.

Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::FixupAddress(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE().

◆ LinkOSOLineTable()

LineTable * SymbolFileDWARFDebugMap::LinkOSOLineTable ( SymbolFileDWARF oso_symfile,
LineTable line_table 
)
protected

Given a line table full of lines with "file addresses" that are for a .o file represented by oso_symfile, link a new line table and return it.

Parameters
[in]oso_symfileThe DWARF symbol file that produced the line_table
[in]line_tableA pointer to the line table.
Returns
Returns a valid line table full of linked addresses, or NULL if none of the line table addresses exist in the main executable.

Definition at line 1499 of file SymbolFileDWARFDebugMap.cpp.

References GetCompileUnitInfo(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), and lldb_private::LineTable::LinkLineTable().

◆ ParseAllLanguages()

llvm::SmallSet< lldb::LanguageType, 4 > SymbolFileDWARFDebugMap::ParseAllLanguages ( lldb_private::CompileUnit comp_unit)
overridevirtual

This function exists because SymbolFileDWARFDebugMap may extra compile units which aren't exposed as "real" compile units.

In every other case this function should behave identically as ParseLanguage.

Reimplemented from lldb_private::SymbolFile.

Definition at line 685 of file SymbolFileDWARFDebugMap.cpp.

References GetCompUnitInfo(), and lldb_private::CompileUnit::GetLanguage().

◆ ParseBlocksRecursive()

size_t SymbolFileDWARFDebugMap::ParseBlocksRecursive ( Function func)
overridevirtual

◆ ParseCallEdgesInFunction()

std::vector< std::unique_ptr< lldb_private::CallEdge > > SymbolFileDWARFDebugMap::ParseCallEdgesInFunction ( lldb_private::UserID  func_id)
overridevirtual

◆ ParseCompileUnitAtIndex()

CompUnitSP SymbolFileDWARFDebugMap::ParseCompileUnitAtIndex ( uint32_t  index)
overrideprotectedvirtual

◆ ParseDebugMacros()

bool SymbolFileDWARFDebugMap::ParseDebugMacros ( CompileUnit comp_unit)
overridevirtual

◆ ParseDeclsForContext()

void SymbolFileDWARFDebugMap::ParseDeclsForContext ( lldb_private::CompilerDeclContext  decl_ctx)
overridevirtual

◆ ParseFunctions()

size_t SymbolFileDWARFDebugMap::ParseFunctions ( CompileUnit comp_unit)
overridevirtual

◆ ParseImportedModules()

bool SymbolFileDWARFDebugMap::ParseImportedModules ( const SymbolContext sc,
std::vector< SourceModule > &  imported_modules 
)
overridevirtual

◆ ParseIsOptimized()

bool SymbolFileDWARFDebugMap::ParseIsOptimized ( CompileUnit comp_unit)
overridevirtual

◆ ParseLanguage()

lldb::LanguageType SymbolFileDWARFDebugMap::ParseLanguage ( CompileUnit comp_unit)
overridevirtual

◆ ParseLineTable()

bool SymbolFileDWARFDebugMap::ParseLineTable ( CompileUnit comp_unit)
overridevirtual

◆ ParseSupportFiles()

bool SymbolFileDWARFDebugMap::ParseSupportFiles ( CompileUnit comp_unit,
SupportFileList support_files 
)
overridevirtual

◆ ParseTypes()

size_t SymbolFileDWARFDebugMap::ParseTypes ( CompileUnit comp_unit)
overridevirtual

◆ ParseVariablesForContext()

size_t SymbolFileDWARFDebugMap::ParseVariablesForContext ( const SymbolContext sc)
overridevirtual

◆ ParseXcodeSDK()

XcodeSDK SymbolFileDWARFDebugMap::ParseXcodeSDK ( CompileUnit comp_unit)
overridevirtual

Return the Xcode SDK comp_unit was compiled against.

Reimplemented from lldb_private::SymbolFile.

Definition at line 676 of file SymbolFileDWARFDebugMap.cpp.

References lldb_private::SymbolFile::GetModuleMutex(), GetSymbolFile(), and lldb_private::plugin::dwarf::SymbolFileDWARF::ParseXcodeSDK().

◆ PrivateFindGlobalVariables()

void SymbolFileDWARFDebugMap::PrivateFindGlobalVariables ( ConstString  name,
const CompilerDeclContext parent_decl_ctx,
const std::vector< uint32_t > &  name_symbol_indexes,
uint32_t  max_matches,
VariableList variables 
)
protected

◆ ResolveSymbolContext() [1/2]

uint32_t lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::ResolveSymbolContext ( const Address so_addr,
lldb::SymbolContextItem  resolve_scope,
SymbolContext sc 
)
overridevirtual

◆ ResolveSymbolContext() [2/2]

uint32_t lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::ResolveSymbolContext ( const SourceLocationSpec src_location_spec,
lldb::SymbolContextItem  resolve_scope,
SymbolContextList sc_list 
)
overridevirtual

Reimplemented from lldb_private::SymbolFile.

◆ ResolveTypeUID()

Type * SymbolFileDWARFDebugMap::ResolveTypeUID ( lldb::user_id_t  type_uid)
overridevirtual

◆ SetCompileUnit()

void SymbolFileDWARFDebugMap::SetCompileUnit ( SymbolFileDWARF oso_dwarf,
const lldb::CompUnitSP cu_sp 
)
protected

◆ Supports_DW_AT_APPLE_objc_complete_type()

bool SymbolFileDWARFDebugMap::Supports_DW_AT_APPLE_objc_complete_type ( SymbolFileDWARF skip_dwarf_oso)
protected

◆ SymbolContainsSymbolWithID()

int SymbolFileDWARFDebugMap::SymbolContainsSymbolWithID ( lldb::user_id_t symbol_idx_ptr,
const CompileUnitInfo comp_unit_info 
)
staticprotected

Definition at line 995 of file SymbolFileDWARFDebugMap.cpp.

Referenced by GetCompileUnitInfoForSymbolWithID().

◆ SymbolContainsSymbolWithIndex()

int SymbolFileDWARFDebugMap::SymbolContainsSymbolWithIndex ( uint32_t *  symbol_idx_ptr,
const CompileUnitInfo comp_unit_info 
)
staticprotected

Definition at line 982 of file SymbolFileDWARFDebugMap.cpp.

Referenced by GetCompileUnitInfoForSymbolWithIndex().

◆ Terminate()

void SymbolFileDWARFDebugMap::Terminate ( )
static

Friends And Related Function Documentation

◆ ::DWARFASTParserClang

friend class ::DWARFASTParserClang
friend

Definition at line 151 of file SymbolFileDWARFDebugMap.h.

◆ DebugMapModule

friend class DebugMapModule
friend

Definition at line 150 of file SymbolFileDWARFDebugMap.h.

◆ DWARFCompileUnit

friend class DWARFCompileUnit
friend

Definition at line 152 of file SymbolFileDWARFDebugMap.h.

◆ SymbolFileDWARF

friend class SymbolFileDWARF
friend

Definition at line 153 of file SymbolFileDWARFDebugMap.h.

Member Data Documentation

◆ ID

char SymbolFileDWARFDebugMap::ID
staticprivate

LLVM RTTI support.

Definition at line 36 of file SymbolFileDWARFDebugMap.h.

Referenced by classof(), and isA().

◆ m_compile_unit_infos

std::vector<CompileUnitInfo> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_compile_unit_infos
protected

◆ m_debug_map

DebugMap lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_debug_map
protected

◆ m_flags

std::bitset<kNumFlags> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_flags
protected

Definition at line 324 of file SymbolFileDWARFDebugMap.h.

Referenced by InitOSO().

◆ m_forward_decl_compiler_type_to_die

llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_forward_decl_compiler_type_to_die
protected

Definition at line 332 of file SymbolFileDWARFDebugMap.h.

Referenced by GetForwardDeclCompilerTypeToDIE().

◆ m_func_indexes

std::vector<uint32_t> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_func_indexes
protected

Definition at line 326 of file SymbolFileDWARFDebugMap.h.

Referenced by InitOSO().

◆ m_glob_indexes

std::vector<uint32_t> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_glob_indexes
protected

Definition at line 327 of file SymbolFileDWARFDebugMap.h.

Referenced by InitOSO().

◆ m_oso_map

std::map<std::pair<ConstString, llvm::sys::TimePoint<> >, OSOInfoSP> lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_oso_map
protected

Definition at line 328 of file SymbolFileDWARFDebugMap.h.

Referenced by GetModuleByCompUnitInfo().

◆ m_supports_DW_AT_APPLE_objc_complete_type

LazyBool lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_supports_DW_AT_APPLE_objc_complete_type
protected

Definition at line 334 of file SymbolFileDWARFDebugMap.h.

Referenced by Supports_DW_AT_APPLE_objc_complete_type().

◆ m_unique_ast_type_map

UniqueDWARFASTTypeMap lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::m_unique_ast_type_map
protected

Definition at line 333 of file SymbolFileDWARFDebugMap.h.

Referenced by GetUniqueDWARFASTTypeMap().


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