LLDB mainline
|
#include <SymbolFileNativePDB.h>
Classes | |
struct | InlineSite |
struct | LineTableEntryComparator |
Public Member Functions | |
SymbolFileNativePDB (lldb::ObjectFileSP objfile_sp) | |
~SymbolFileNativePDB () override | |
uint32_t | CalculateAbilities () override |
void | InitializeObject () override |
Initialize the SymbolFile object. | |
uint64_t | GetDebugInfoSize (bool load_all_debug_info=false) override |
Metrics gathering functions. | |
void | ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) override |
lldb::LanguageType | ParseLanguage (lldb_private::CompileUnit &comp_unit) override |
size_t | ParseFunctions (lldb_private::CompileUnit &comp_unit) override |
bool | ParseLineTable (lldb_private::CompileUnit &comp_unit) override |
bool | ParseDebugMacros (lldb_private::CompileUnit &comp_unit) override |
bool | ParseSupportFiles (lldb_private::CompileUnit &comp_unit, SupportFileList &support_files) override |
size_t | ParseTypes (lldb_private::CompileUnit &comp_unit) override |
bool | ParseImportedModules (const SymbolContext &sc, std::vector< lldb_private::SourceModule > &imported_modules) override |
size_t | ParseBlocksRecursive (Function &func) override |
void | FindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, VariableList &variables) override |
size_t | ParseVariablesForContext (const SymbolContext &sc) override |
void | AddSymbols (Symtab &symtab) override |
CompilerDecl | GetDeclForUID (lldb::user_id_t uid) override |
CompilerDeclContext | GetDeclContextForUID (lldb::user_id_t uid) override |
CompilerDeclContext | GetDeclContextContainingUID (lldb::user_id_t uid) override |
Type * | ResolveTypeUID (lldb::user_id_t type_uid) override |
std::optional< ArrayInfo > | GetDynamicArrayInfoForUID (lldb::user_id_t type_uid, const lldb_private::ExecutionContext *exe_ctx) override |
If type_uid points to an array type, return its characteristics. | |
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 |
void | GetTypes (SymbolContextScope *sc_scope, lldb::TypeClass type_mask, TypeList &type_list) override |
void | FindFunctions (const Module::LookupInfo &lookup_info, const CompilerDeclContext &parent_decl_ctx, bool include_inlines, SymbolContextList &sc_list) override |
void | FindFunctions (const RegularExpression ®ex, bool include_inlines, SymbolContextList &sc_list) override |
std::optional< PdbCompilandSymId > | FindSymbolScope (PdbCompilandSymId id) |
void | FindTypes (const lldb_private::TypeQuery &match, lldb_private::TypeResults &results) override |
Find types using a type-matching object that contains all search parameters. | |
llvm::Expected< lldb::TypeSystemSP > | GetTypeSystemForLanguage (lldb::LanguageType language) override |
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. | |
llvm::StringRef | GetPluginName () override |
llvm::pdb::PDBFile & | GetPDBFile () |
const llvm::pdb::PDBFile & | GetPDBFile () const |
PdbIndex & | GetIndex () |
void | DumpClangAST (Stream &s) override |
std::optional< llvm::codeview::TypeIndex > | GetParentType (llvm::codeview::TypeIndex ti) |
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. | |
Symtab * | GetSymtab () override |
ObjectFile * | GetObjectFile () override |
const ObjectFile * | GetObjectFile () const override |
ObjectFile * | GetMainObjectFile () 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::TypeSystemSP > | GetTypeSystemForLanguage (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 SymbolFile * | GetBackingSymbolFile () |
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 Symtab * | GetSymtab ()=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 Type * | ResolveTypeUID (lldb::user_id_t type_uid)=0 |
virtual std::optional< ArrayInfo > | GetDynamicArrayInfoForUID (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< CompilerContext > | GetCompilerContextForUID (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 ®ex, 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 ®ex, 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::TypeSystemSP > | GetTypeSystemForLanguage (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 ObjectFile * | GetObjectFile ()=0 |
virtual const ObjectFile * | GetObjectFile () const =0 |
virtual ObjectFile * | GetMainObjectFile ()=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_t > | GetParameterStackSize (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, Args > | GetCompileOptions () |
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 | |
PluginInterface & | operator= (const PluginInterface &)=delete |
Static Public Member Functions | |
static void | Initialize () |
static void | Terminate () |
static void | DebuggerInitialize (Debugger &debugger) |
static llvm::StringRef | GetPluginNameStatic () |
static llvm::StringRef | GetPluginDescriptionStatic () |
static SymbolFile * | CreateInstance (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 SymbolFile * | FindPlugin (lldb::ObjectFileSP objfile_sp) |
static bool | classof (const SymbolFile *obj) |
Private Types | |
using | RangeSourceLineVector = lldb_private::RangeDataVector< uint32_t, uint32_t, int32_t > |
Private Attributes | |
llvm::BumpPtrAllocator | m_allocator |
lldb::addr_t | m_obj_load_address = 0 |
bool | m_done_full_type_scan = false |
lldb::user_id_t | anonymous_id = LLDB_INVALID_UID - 1 |
std::unique_ptr< llvm::pdb::PDBFile > | m_file_up |
std::unique_ptr< PdbIndex > | m_index |
llvm::DenseMap< lldb::user_id_t, lldb::VariableSP > | m_global_vars |
llvm::DenseMap< lldb::user_id_t, lldb::VariableSP > | m_local_variables |
llvm::DenseMap< lldb::user_id_t, lldb::BlockSP > | m_blocks |
llvm::DenseMap< lldb::user_id_t, lldb::FunctionSP > | m_functions |
llvm::DenseMap< lldb::user_id_t, lldb::CompUnitSP > | m_compilands |
llvm::DenseMap< lldb::user_id_t, lldb::TypeSP > | m_types |
llvm::DenseMap< lldb::user_id_t, std::shared_ptr< InlineSite > > | m_inline_sites |
llvm::DenseMap< llvm::codeview::TypeIndex, llvm::codeview::TypeIndex > | m_parent_types |
Static Private Attributes | |
static char | ID |
LLVM RTTI support. | |
Friends | |
class | UdtRecordCompleter |
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) } |
Protected Member Functions inherited from lldb_private::SymbolFileCommon | |
virtual uint32_t | CalculateNumCompileUnits ()=0 |
virtual lldb::CompUnitSP | ParseCompileUnitAtIndex (uint32_t idx)=0 |
virtual TypeList & | GetTypeList () |
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) |
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(). | |
Definition at line 43 of file SymbolFileNativePDB.h.
|
private |
Definition at line 174 of file SymbolFileNativePDB.h.
SymbolFileNativePDB::SymbolFileNativePDB | ( | lldb::ObjectFileSP | objfile_sp | ) |
Definition at line 304 of file SymbolFileNativePDB.cpp.
|
overridedefault |
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1046 of file SymbolFileNativePDB.cpp.
|
private |
Definition at line 2164 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::CVTagRecord::asTag(), lldb_private::npdb::CVTagRecord::create(), error(), GetNestedTagDefinition(), lldb_private::npdb::IsTagRecord(), m_index, m_parent_types, and lldb_private::npdb::PdbIndex::tpi().
Referenced by InitializeObject().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 309 of file SymbolFileNativePDB.cpp.
References lldb_private::SymbolFile::Blocks, lldb_private::npdb::PdbIndex::create(), lldb_private::SymbolFile::kAllAbilities, loadMatchingPDBFile(), lldb_private::SymbolFile::LocalVariables, m_allocator, m_file_up, m_index, and lldb_private::SymbolFileCommon::m_objfile_sp.
|
overrideprivatevirtual |
Implements lldb_private::SymbolFileCommon.
Definition at line 367 of file SymbolFileNativePDB.cpp.
References m_index.
|
inlinestatic |
Definition at line 55 of file SymbolFileNativePDB.h.
References ID, and lldb_private::SymbolFile::isA().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 2122 of file SymbolFileNativePDB.cpp.
References lldb_private::ClangASTImporter::CanImport(), lldb_private::npdb::PdbAstBuilder::CompleteType(), lldb_private::ClangASTImporter::CompleteType(), lldb_private::CompilerType::TypeSystemSPWrapper::dyn_cast_or_null(), lldb_private::npdb::PdbAstBuilder::GetClangASTImporter(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::CompilerType::GetOpaqueQualType(), and lldb_private::CompilerType::GetTypeSystem().
|
private |
Definition at line 774 of file SymbolFileNativePDB.cpp.
References CreateType(), lldb::eLanguageTypeC_plus_plus, lldb_private::npdb::PdbAstBuilder::GetOrCreateType(), GetTypeSystemForLanguage(), lldb_private::npdb::PdbTypeSymId::index, lldb_private::npdb::IsForwardRefUdt(), m_index, m_types, lldb_private::npdb::PdbAstBuilder::ToCompilerType(), and lldb_private::npdb::toOpaqueUid().
Referenced by GetOrCreateType(), and ResolveTypeUID().
|
private |
Definition at line 683 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, GetOrCreateType(), LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Definition at line 382 of file SymbolFileNativePDB.cpp.
References lldb_private::Block::AddChild(), lldb_private::Block::AddRange(), lldb_private::Block::CalculateSymbolContextFunction(), lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::Address::GetFileAddress(), lldb_private::ModuleChild::GetModule(), lldb_private::Block::GetNumRanges(), lldb_private::SymbolFileCommon::GetObjectFile(), GetOrCreateBlock(), lldb_private::npdb::PdbAstBuilder::GetOrCreateBlockDecl(), GetOrCreateCompileUnit(), GetOrCreateFunction(), lldb_private::npdb::PdbAstBuilder::GetOrCreateInlinedFunctionDecl(), GetTypeSystemForLanguage(), lldbassert, m_blocks, lldb_private::npdb::CompilandIndexItem::m_debug_stream, m_index, m_inline_sites, lldb_private::npdb::PdbCompilandSymId::modi, lldb_private::npdb::PdbCompilandSymId::offset, and lldb_private::npdb::toOpaqueUid().
Referenced by GetOrCreateBlock().
|
private |
Definition at line 644 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Forward, GetUnqualifiedTypeName(), LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
|
private |
Definition at line 523 of file SymbolFileNativePDB.cpp.
References lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolNo, lldb_private::eLazyBoolYes, lldb_private::npdb::CompilandIndexItem::m_compile_opts, lldb_private::npdb::CompilandIndexItem::m_id, m_index, lldb_private::SymbolFileCommon::m_objfile_sp, lldb_private::npdb::PdbCompilandId::modi, lldb_private::SymbolFileCommon::SetCompileUnitAtIndex(), lldb_private::npdb::toOpaqueUid(), and TranslateLanguage().
Referenced by GetOrCreateCompileUnit().
|
private |
Definition at line 931 of file SymbolFileNativePDB.cpp.
References lldb::eValueTypeVariableGlobal, lldb_private::ModuleChild::GetModule(), lldb_private::SymbolFileCommon::GetObjectFile(), m_index, lldb_private::npdb::MakeConstantLocationExpression(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateGlobalVariable().
|
private |
Definition at line 475 of file SymbolFileNativePDB.cpp.
References lldb_private::CompileUnit::AddFunction(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::CompileUnit::GetLanguage(), lldb_private::ModuleChild::GetModule(), GetOrCreateType(), lldb_private::npdb::GetSegmentOffsetAndLength(), GetTypeSystemForLanguage(), lldb_private::Address::IsValid(), lldb_private::npdb::SegmentOffsetLength::length, LLDB_INVALID_ADDRESS, lldbassert, lldb_private::npdb::CompilandIndexItem::m_debug_stream, m_index, lldb_private::npdb::PdbCompilandSymId::modi, lldb_private::npdb::PdbCompilandSymId::offset, lldb_private::npdb::SegmentOffset::offset, lldb_private::npdb::SegmentOffset::segment, lldb_private::npdb::SegmentOffsetLength::so, and lldb_private::npdb::toOpaqueUid().
Referenced by GetOrCreateFunction().
|
private |
Definition at line 697 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Definition at line 842 of file SymbolFileNativePDB.cpp.
References CreateConstantSymbol(), lldb::eValueTypeInvalid, lldb::eValueTypeVariableGlobal, lldb::eValueTypeVariableStatic, lldb::eValueTypeVariableThreadLocal, lldb_private::ModuleChild::GetModule(), lldb_private::SymbolFileCommon::GetObjectFile(), GetOrCreateCompileUnit(), GetTypeSystemForLanguage(), m_index, lldb_private::npdb::MakeGlobalLocationExpression(), lldb_private::npdb::PdbGlobalSymId::offset, and lldb_private::npdb::toOpaqueUid().
Referenced by GetOrCreateGlobalVariable().
|
static |
Definition at line 300 of file SymbolFileNativePDB.cpp.
Referenced by Initialize(), and Terminate().
|
private |
Definition at line 1816 of file SymbolFileNativePDB.cpp.
References lldb_private::Block::CalculateSymbolContextFunction(), lldb::eValueTypeVariableArgument, lldb::eValueTypeVariableLocal, lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::Address::GetFileAddress(), lldb_private::ModuleChild::GetModule(), lldb_private::SymbolFileCommon::GetObjectFile(), GetOrCreateBlock(), GetOrCreateCompileUnit(), GetOrCreateType(), lldb_private::Block::GetParent(), lldb_private::Block::GetStartAddress(), GetTypeSystemForLanguage(), lldb_private::npdb::GetVariableLocationInfo(), lldb_private::npdb::VariableInfo::is_param, lldb_private::DWARFExpressionList::IsValid(), lldb_private::npdb::VariableInfo::location, m_index, m_local_variables, lldb_private::npdb::PdbCompilandSymId::modi, lldb_private::npdb::VariableInfo::name, lldb_private::DWARFExpressionList::SetFuncFileAddress(), lldb_private::npdb::toOpaqueUid(), and lldb_private::npdb::VariableInfo::type.
Referenced by GetOrCreateLocalVariable().
|
private |
Definition at line 545 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, GetOrCreateType(), GetSimpleTypeName(), LLDB_INVALID_UID, m_index, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Definition at line 565 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, GetOrCreateType(), LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Definition at line 706 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Definition at line 583 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsUID, lldb_private::Type::Full, GetOrCreateType(), GetSimpleTypeName(), lldb_private::npdb::GetTypeSizeForSimpleKind(), LLDB_INVALID_UID, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by CreateType().
|
private |
Referenced by CreateType().
|
private |
|
private |
|
private |
Definition at line 715 of file SymbolFileNativePDB.cpp.
References CreateArrayType(), CreateFunctionType(), CreateModifierType(), CreatePointerType(), CreateProcedureType(), CreateSimpleType(), CreateTagType(), lldb_private::npdb::PdbTypeSymId::index, lldb_private::npdb::PdbTypeSymId::is_ipi, IsClassRecord(), and m_index.
Referenced by CreateAndCacheType().
|
private |
Definition at line 1884 of file SymbolFileNativePDB.cpp.
References lldb_private::Type::eEncodingIsTypedefUID, lldb::eLanguageTypeC_plus_plus, lldb_private::Type::Forward, GetOrCreateType(), GetTypeSystemForLanguage(), lldbassert, m_index, lldb_private::SymbolFileCommon::MakeType(), and lldb_private::npdb::toOpaqueUid().
Referenced by GetOrCreateTypedef().
|
static |
Definition at line 294 of file SymbolFileNativePDB.cpp.
Referenced by Initialize().
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1639 of file SymbolFileNativePDB.cpp.
References lldb::eLanguageTypeC_plus_plus, and GetTypeSystemForLanguage().
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1676 of file SymbolFileNativePDB.cpp.
References lldb_private::SymbolContextList::Append(), lldb_private::SymbolContext::comp_unit, lldb_private::SymbolContext::function, lldb_private::Module::LookupInfo::GetLookupName(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::Module::LookupInfo::GetName(), lldb_private::Module::LookupInfo::GetNameTypeMask(), GetOrCreateCompileUnit(), GetOrCreateFunction(), lldb_private::ConstString::GetStringRef(), lldb_private::npdb::IsValidRecord(), and m_index.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1716 of file SymbolFileNativePDB.cpp.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1650 of file SymbolFileNativePDB.cpp.
References lldb_private::VariableList::AddVariable(), lldb_private::SymbolFile::GetModuleMutex(), GetOrCreateGlobalVariable(), lldb_private::ConstString::GetStringRef(), and m_index.
|
overridevirtual |
Finds a namespace of name name and whose parent context is parent_decl_ctx.
If
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 2144 of file SymbolFileNativePDB.cpp.
std::optional< PdbCompilandSymId > SymbolFileNativePDB::FindSymbolScope | ( | PdbCompilandSymId | id | ) |
Definition at line 2278 of file SymbolFileNativePDB.cpp.
References lldbassert, lldb_private::npdb::CompilandIndexItem::m_debug_stream, and m_index.
Referenced by lldb_private::npdb::PdbAstBuilder::GetParentDeclContext().
|
overridevirtual |
Find types using a type-matching object that contains all search parameters.
[in] | query | A type matching object that contains all of the details of the type search. |
[in] | results | Any matching types will be populated into the results object using TypeMap::InsertUnique(...). |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1720 of file SymbolFileNativePDB.cpp.
References lldb_private::TypeResults::AlreadySearched(), lldb_private::TypeQuery::ContextMatches(), lldb_private::TypeResults::Done(), lldb_private::TypeQuery::GetContextRef(), lldb_private::SymbolFile::GetModuleMutex(), GetOrCreateType(), lldb_private::ConstString::GetStringRef(), lldb_private::TypeQuery::GetTypeBasename(), lldb_private::TypeResults::InsertUnique(), and m_index.
|
private |
Definition at line 1748 of file SymbolFileNativePDB.cpp.
References GetOrCreateType(), lldb_private::TypeMap::Insert(), and m_index.
|
overridevirtual |
Metrics gathering functions.
Return the size in bytes of all loaded debug information or total possible debug info in the symbol file.
If the debug information is contained in sections of an ObjectFile, then this call should add the size of all sections that contain debug information. Symbols the symbol tables are not considered debug information for this call to make it easy and quick for this number to be calculated. If the symbol file is all debug information, the size of the entire file should be returned. The default implementation of this function will iterate over all sections in a module and add up their debug info only section byte sizes.
load_all_debug_info | If true, force loading any symbol files if they are not yet loaded and add to the total size. Default to false. |
Reimplemented from lldb_private::SymbolFileCommon.
Definition at line 2159 of file SymbolFileNativePDB.cpp.
References m_index.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 2078 of file SymbolFileNativePDB.cpp.
References lldb::eLanguageTypeC_plus_plus, lldb_private::npdb::PdbAstBuilder::GetParentDeclContext(), GetTypeSystemForLanguage(), and lldb_private::npdb::PdbAstBuilder::ToCompilerDeclContext().
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 2060 of file SymbolFileNativePDB.cpp.
References lldb::eLanguageTypeC_plus_plus, lldb_private::npdb::PdbAstBuilder::GetOrCreateDeclContextForUid(), GetTypeSystemForLanguage(), and lldb_private::npdb::PdbAstBuilder::ToCompilerDeclContext().
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 2046 of file SymbolFileNativePDB.cpp.
References lldb::eLanguageTypeC_plus_plus, and GetTypeSystemForLanguage().
|
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 2117 of file SymbolFileNativePDB.cpp.
|
private |
Definition at line 1345 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::CompilandIndexItem::m_file_list, and lldb_private::npdb::CompilandIndexItem::m_strings.
Referenced by ParseInlineSite(), and ParseLineTable().
|
inline |
Definition at line 158 of file SymbolFileNativePDB.h.
References m_index.
Referenced by lldb_private::npdb::PdbAstBuilder::CreateArrayType(), lldb_private::npdb::PdbAstBuilder::CreateDeclInfoForUndecoratedName(), lldb_private::npdb::PdbAstBuilder::CreateFunctionDecl(), lldb_private::npdb::PdbAstBuilder::CreateFunctionDeclFromId(), lldb_private::npdb::PdbAstBuilder::CreateFunctionParameters(), lldb_private::npdb::PdbAstBuilder::CreateFunctionType(), lldb_private::npdb::PdbAstBuilder::CreateType(), lldb_private::npdb::PdbAstBuilder::GetOrCreateFunctionDecl(), lldb_private::npdb::PdbAstBuilder::GetOrCreateInlinedFunctionDecl(), lldb_private::npdb::PdbAstBuilder::GetOrCreateSymbolForId(), lldb_private::npdb::PdbAstBuilder::GetOrCreateType(), lldb_private::npdb::PdbAstBuilder::GetOrCreateTypedefDecl(), lldb_private::npdb::PdbAstBuilder::GetOrCreateVariableDecl(), lldb_private::npdb::PdbAstBuilder::GetParentDeclContext(), lldb_private::npdb::PdbAstBuilder::ParseAllFunctionsAndNonLocalVars(), lldb_private::npdb::PdbAstBuilder::ParseAllTypes(), lldb_private::npdb::PdbAstBuilder::ParseBlockChildren(), and lldb_private::npdb::PdbAstBuilder::ParseNamespace().
|
private |
Definition at line 1000 of file SymbolFileNativePDB.cpp.
References CreateBlock(), m_blocks, and lldb_private::npdb::toOpaqueUid().
Referenced by CreateBlock(), CreateLocalVariable(), ParseBlocksRecursive(), and ParseVariablesForBlock().
|
private |
Definition at line 989 of file SymbolFileNativePDB.cpp.
References CreateCompileUnit(), lldbassert, m_compilands, lldb_private::npdb::CompilandIndexItem::m_id, and lldb_private::npdb::toOpaqueUid().
Referenced by CreateBlock(), CreateGlobalVariable(), CreateLocalVariable(), FindFunctions(), ParseCompileUnitAtIndex(), and ParseInlineSite().
|
private |
Definition at line 979 of file SymbolFileNativePDB.cpp.
References CreateFunction(), m_functions, and lldb_private::npdb::toOpaqueUid().
Referenced by CreateBlock(), FindFunctions(), and ParseFunctions().
|
private |
Definition at line 963 of file SymbolFileNativePDB.cpp.
References CreateGlobalVariable(), m_global_vars, and lldb_private::npdb::toOpaqueUid().
Referenced by FindGlobalVariables().
|
private |
Definition at line 1875 of file SymbolFileNativePDB.cpp.
References CreateLocalVariable(), m_local_variables, and lldb_private::npdb::toOpaqueUid().
Referenced by ParseVariablesForBlock().
|
private |
|
private |
Definition at line 828 of file SymbolFileNativePDB.cpp.
References CreateAndCacheType(), lldb_private::SymbolFileCommon::GetTypeList(), lldb_private::TypeList::Insert(), m_types, and lldb_private::npdb::toOpaqueUid().
Referenced by CreateArrayType(), CreateFunction(), CreateLocalVariable(), CreateModifierType(), CreatePointerType(), CreateSimpleType(), CreateTypedef(), FindTypes(), FindTypesByName(), and ParseTypes().
|
private |
Definition at line 1909 of file SymbolFileNativePDB.cpp.
References CreateTypedef(), m_types, and lldb_private::npdb::toOpaqueUid().
Referenced by ParseTypes().
std::optional< llvm::codeview::TypeIndex > SymbolFileNativePDB::GetParentType | ( | llvm::codeview::TypeIndex | ti | ) |
Definition at line 2331 of file SymbolFileNativePDB.cpp.
References m_parent_types.
Referenced by lldb_private::npdb::PdbAstBuilder::CreateDeclInfoForType(), and lldb_private::npdb::PdbAstBuilder::GetParentDeclContext().
|
inline |
Definition at line 155 of file SymbolFileNativePDB.h.
References m_index.
|
inline |
Definition at line 156 of file SymbolFileNativePDB.h.
References m_index.
|
static |
Definition at line 296 of file SymbolFileNativePDB.cpp.
Referenced by Initialize().
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 153 of file SymbolFileNativePDB.h.
References GetPluginNameStatic().
|
inlinestatic |
Definition at line 65 of file SymbolFileNativePDB.h.
Referenced by GetPluginName(), and Initialize().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 2140 of file SymbolFileNativePDB.cpp.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFileCommon.
Definition at line 2150 of file SymbolFileNativePDB.cpp.
References lldb_private::SymbolFileCommon::m_objfile_sp.
Referenced by CreateAndCacheType(), CreateBlock(), CreateFunction(), CreateGlobalVariable(), CreateLocalVariable(), CreateTypedef(), DumpClangAST(), GetDeclContextContainingUID(), GetDeclContextForUID(), and GetDeclForUID().
|
static |
Definition at line 284 of file SymbolFileNativePDB.cpp.
References CreateInstance(), DebuggerInitialize(), GetPluginDescriptionStatic(), GetPluginNameStatic(), and lldb_private::PluginManager::RegisterPlugin().
Referenced by SymbolFilePDB::Initialize().
|
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 347 of file SymbolFileNativePDB.cpp.
References BuildParentMap(), lldb::eLanguageTypeC_plus_plus, lldb_private::GetLog(), LLDB_LOG_ERROR, m_index, m_obj_load_address, lldb_private::SymbolFileCommon::m_objfile_sp, and lldb_private::Symbols.
|
inlineoverridevirtual |
LLVM RTTI support.
Reimplemented from lldb_private::SymbolFileCommon.
Definition at line 52 of file SymbolFileNativePDB.h.
References ID, and lldb_private::SymbolFileCommon::isA().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1599 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::PdbSymUid::asCompilandSym(), lldb_private::UserID::GetID(), lldb_private::SymbolFile::GetModuleMutex(), GetOrCreateBlock(), m_inline_sites, ParseSymbolArrayInScope(), and lldb_private::npdb::toOpaqueUid().
|
overrideprivatevirtual |
Implements lldb_private::SymbolFileCommon.
Definition at line 1020 of file SymbolFileNativePDB.cpp.
References lldb_private::SymbolFileCommon::GetNumCompileUnits(), GetOrCreateCompileUnit(), lldbassert, and m_index.
Referenced by ResolveSymbolContext().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1339 of file SymbolFileNativePDB.cpp.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1008 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::PdbAstBuilder::FromCompilerDeclContext(), lldb_private::TypeSystem::GetNativePDBParser(), lldb_private::CompilerDeclContext::GetTypeSystem(), and lldb_private::npdb::PdbAstBuilder::ParseDeclsForContext().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1048 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::Compiland, lldb_private::UserID::GetID(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::CompileUnit::GetNumFunctions(), GetOrCreateFunction(), lldbassert, lldb_private::npdb::CompilandIndexItem::m_debug_stream, m_index, and lldb_private::npdb::PdbCompilandSymId::offset.
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1389 of file SymbolFileNativePDB.cpp.
|
private |
Definition at line 1395 of file SymbolFileNativePDB.cpp.
References lldb_private::RangeDataVector< B, S, T, N, Compare >::FindEntryThatContains(), lldb_private::Address::GetFileAddress(), GetFileIndex(), lldb_private::SupportFileList::GetFileSpecAtIndex(), GetOrCreateCompileUnit(), lldb_private::npdb::CompilandIndexItem::m_debug_stream, lldb_private::npdb::CompilandIndexItem::m_global_line_table, m_index, lldb_private::npdb::CompilandIndexItem::m_inline_map, m_inline_sites, lldb_private::npdb::PdbCompilandSymId::offset, ParseInlineSite(), and lldb_private::npdb::toOpaqueUid().
Referenced by ParseInlineSite(), and ParseLineTable().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1032 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::PdbSymUid::asCompiland(), lldb_private::npdb::Compiland, lldb::eLanguageTypeUnknown, lldb_private::UserID::GetID(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::npdb::PdbSymUid::kind(), lldbassert, lldb_private::npdb::CompilandIndexItem::m_compile_opts, m_index, lldb_private::npdb::PdbCompilandId::modi, and TranslateLanguage().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1179 of file SymbolFileNativePDB.cpp.
References lldb_private::RangeDataVector< B, S, T, N, Compare >::Append(), lldb_private::npdb::PdbSymUid::asCompiland(), lldb_private::RangeDataVector< B, S, T, N, Compare >::Clear(), lldb_private::npdb::Compiland, lldb_private::RangeData< B, S, T >::data, lldb_private::AddressRange::GetBaseAddress(), GetFileIndex(), lldb_private::UserID::GetID(), lldb_private::ModuleChild::GetModule(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::Range< B, S >::GetRangeBase(), lldb_private::npdb::GetSegmentOffsetAndLength(), IsFunctionEpilogue(), IsFunctionPrologue(), lldb_private::npdb::PdbSymUid::kind(), lldb_private::npdb::SegmentOffsetLength::length, LLDB_INVALID_ADDRESS, lldbassert, lldb_private::npdb::CompilandIndexItem::m_debug_stream, lldb_private::npdb::CompilandIndexItem::m_global_line_table, m_index, m_inline_sites, lldb_private::npdb::PdbCompilandId::modi, lldb_private::npdb::SegmentOffset::offset, ParseInlineSite(), ParseSymbolArrayInScope(), lldb_private::npdb::SegmentOffset::segment, lldb_private::CompileUnit::SetLineTable(), lldb_private::Range< B, S >::SetRangeBase(), lldb_private::Range< B, S >::SetRangeEnd(), lldb_private::npdb::SegmentOffsetLength::so, lldb_private::RangeDataVector< B, S, T, N, Compare >::Sort(), and lldb_private::npdb::toOpaqueUid().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1371 of file SymbolFileNativePDB.cpp.
References lldb_private::SupportFileList::Append(), lldb_private::npdb::PdbSymUid::asCompiland(), lldb_private::npdb::Compiland, lldb_private::UserID::GetID(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::npdb::PdbSymUid::kind(), lldbassert, lldb_private::npdb::CompilandIndexItem::m_file_list, m_index, and lldb_private::npdb::PdbCompilandId::modi.
|
private |
Definition at line 1622 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::CompilandIndexItem::m_debug_stream, m_index, lldb_private::npdb::PdbCompilandSymId::modi, and lldb_private::npdb::PdbCompilandSymId::offset.
Referenced by ParseBlocksRecursive(), and ParseLineTable().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 1765 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::CVTagRecord::create(), lldb_private::SymbolFile::GetModuleMutex(), GetOrCreateType(), GetOrCreateTypedef(), lldb_private::TypeList::GetSize(), lldb_private::SymbolFileCommon::GetTypeList(), lldb_private::npdb::IsTagRecord(), m_done_full_type_scan, m_index, and lldb_private::npdb::CVTagRecord::name().
|
private |
Definition at line 1917 of file SymbolFileNativePDB.cpp.
References lldb_private::Block::GetBlockVariableList(), GetOrCreateBlock(), GetOrCreateLocalVariable(), lldbassert, lldb_private::npdb::CompilandIndexItem::m_debug_stream, m_index, lldb_private::npdb::PdbCompilandSymId::modi, lldb_private::npdb::PdbCompilandSymId::offset, ParseVariablesForBlock(), lldb_private::Block::SetDidParseVariables(), and lldb_private::Block::SetVariableList().
Referenced by ParseVariablesForBlock(), and ParseVariablesForContext().
|
private |
Definition at line 1809 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::Compiland, lldb_private::UserID::GetID(), lldb_private::npdb::PdbSymUid::kind(), and lldbassert.
Referenced by ParseVariablesForContext().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 2015 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::PdbSymUid::asCompilandSym(), lldb_private::SymbolContext::block, lldb_private::SymbolContext::comp_unit, lldb_private::SymbolContext::function, lldb_private::UserID::GetID(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::CompileUnit::GetVariableList(), lldbassert, ParseVariablesForBlock(), ParseVariablesForCompileUnit(), and lldb_private::CompileUnit::SetVariableList().
|
overridevirtual |
Implements lldb_private::SymbolFile.
|
overridevirtual |
Reimplemented from lldb_private::SymbolFile.
Definition at line 1156 of file SymbolFileNativePDB.cpp.
References lldb_private::SourceLocationSpec::GetFileSpec(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::SymbolFileCommon::GetNumCompileUnits(), lldb_private::CompileUnit::GetPrimaryFile(), lldb_private::SymbolContextList::GetSize(), lldb_private::FileSpec::Match(), ParseCompileUnitAtIndex(), and lldb_private::CompileUnit::ResolveSymbolContext().
|
overridevirtual |
Implements lldb_private::SymbolFile.
Definition at line 2093 of file SymbolFileNativePDB.cpp.
References lldb_private::npdb::PdbSymUid::asTypeSym(), CreateAndCacheType(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::npdb::PdbTypeSymId::index, lldb_private::npdb::PdbSymUid::kind(), lldbassert, m_types, and lldb_private::npdb::Type.
|
static |
Definition at line 290 of file SymbolFileNativePDB.cpp.
References CreateInstance(), and lldb_private::PluginManager::UnregisterPlugin().
Referenced by SymbolFilePDB::Terminate().
|
friend |
Definition at line 44 of file SymbolFileNativePDB.h.
|
private |
Definition at line 267 of file SymbolFileNativePDB.h.
Referenced by lldb_private::npdb::UdtRecordCompleter::AddMember().
|
staticprivate |
LLVM RTTI support.
Definition at line 47 of file SymbolFileNativePDB.h.
|
private |
Definition at line 261 of file SymbolFileNativePDB.h.
Referenced by CalculateAbilities().
|
private |
Definition at line 274 of file SymbolFileNativePDB.h.
Referenced by CreateBlock(), and GetOrCreateBlock().
|
private |
Definition at line 276 of file SymbolFileNativePDB.h.
Referenced by GetOrCreateCompileUnit().
|
private |
Definition at line 264 of file SymbolFileNativePDB.h.
Referenced by ParseTypes().
|
private |
Definition at line 269 of file SymbolFileNativePDB.h.
Referenced by CalculateAbilities().
|
private |
Definition at line 275 of file SymbolFileNativePDB.h.
Referenced by GetOrCreateFunction().
|
private |
Definition at line 272 of file SymbolFileNativePDB.h.
Referenced by GetOrCreateGlobalVariable().
|
private |
Definition at line 270 of file SymbolFileNativePDB.h.
Referenced by BuildParentMap(), CalculateAbilities(), CalculateNumCompileUnits(), CreateAndCacheType(), CreateBlock(), CreateCompileUnit(), CreateConstantSymbol(), CreateFunction(), CreateGlobalVariable(), CreateLocalVariable(), CreateModifierType(), CreateType(), CreateTypedef(), FindFunctions(), FindGlobalVariables(), FindSymbolScope(), FindTypes(), FindTypesByName(), GetDebugInfoSize(), GetIndex(), GetPDBFile(), InitializeObject(), ParseCompileUnitAtIndex(), ParseFunctions(), ParseInlineSite(), ParseLanguage(), ParseLineTable(), ParseSupportFiles(), ParseSymbolArrayInScope(), ParseTypes(), and ParseVariablesForBlock().
|
private |
Definition at line 278 of file SymbolFileNativePDB.h.
Referenced by CreateBlock(), ParseBlocksRecursive(), ParseInlineSite(), and ParseLineTable().
|
private |
Definition at line 273 of file SymbolFileNativePDB.h.
Referenced by CreateLocalVariable(), and GetOrCreateLocalVariable().
|
private |
Definition at line 263 of file SymbolFileNativePDB.h.
Referenced by InitializeObject().
|
private |
Definition at line 280 of file SymbolFileNativePDB.h.
Referenced by BuildParentMap(), and GetParentType().
|
private |
Definition at line 277 of file SymbolFileNativePDB.h.
Referenced by CreateAndCacheType(), GetOrCreateType(), GetOrCreateTypedef(), and ResolveTypeUID().