LLDB mainline
|
Represents a single compile unit. More...
#include <CompileUnitIndex.h>
Public Types | |
using | GlobalLineTable |
Public Member Functions | |
CompilandIndexItem (PdbCompilandId m_id, llvm::pdb::ModuleDebugStreamRef debug_stream, llvm::pdb::DbiModuleDescriptor descriptor) |
Public Attributes | |
PdbCompilandId | m_id |
llvm::pdb::ModuleDebugStreamRef | m_debug_stream |
llvm::pdb::DbiModuleDescriptor | m_module_descriptor |
llvm::codeview::StringsAndChecksumsRef | m_strings |
std::vector< llvm::StringRef > | m_file_list |
std::map< lldb::addr_t, PdbSymUid > | m_symbols_by_va |
std::optional< llvm::codeview::Compile3Sym > | m_compile_opts |
std::optional< llvm::codeview::ObjNameSym > | m_obj_name |
llvm::SmallVector< llvm::codeview::TypeIndex, 5 > | m_build_info |
std::map< llvm::codeview::TypeIndex, llvm::codeview::InlineeSourceLine > | m_inline_map |
GlobalLineTable | m_global_line_table |
Represents a single compile unit.
This class is useful for collecting the important accessors and information about a compile unit from disparate parts of the PDB into a single place, simplifying acess to compile unit information for the callers.
Definition at line 40 of file CompileUnitIndex.h.
Definition at line 82 of file CompileUnitIndex.h.
CompilandIndexItem::CompilandIndexItem | ( | PdbCompilandId | m_id, |
llvm::pdb::ModuleDebugStreamRef | debug_stream, | ||
llvm::pdb::DbiModuleDescriptor | descriptor ) |
Definition at line 127 of file CompileUnitIndex.cpp.
References m_debug_stream, m_id, and m_module_descriptor.
llvm::SmallVector<llvm::codeview::TypeIndex, 5> lldb_private::npdb::CompilandIndexItem::m_build_info |
Definition at line 74 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::CompileUnitIndex::GetMainSourceFile(), ParseBuildInfo(), and ParseExtendedInfo().
std::optional<llvm::codeview::Compile3Sym> lldb_private::npdb::CompilandIndexItem::m_compile_opts |
Definition at line 66 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::SymbolFileNativePDB::CreateCompileUnit(), GetBaseFrameRegister(), ParseCompile3(), ParseExtendedInfo(), and lldb_private::npdb::SymbolFileNativePDB::ParseLanguage().
llvm::pdb::ModuleDebugStreamRef lldb_private::npdb::CompilandIndexItem::m_debug_stream |
Definition at line 49 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::PdbIndex::BuildAddrToSymbolMap(), lldb_private::npdb::SymbolFileNativePDB::CacheGlobalBaseNames(), CompilandIndexItem(), lldb_private::npdb::SymbolFileNativePDB::CreateBlock(), lldb_private::npdb::SymbolFileNativePDB::CreateFunction(), lldb_private::npdb::PdbAstBuilder::CreateFunctionParameters(), lldb_private::npdb::SymbolFileNativePDB::FindMangledFunctionName(), lldb_private::npdb::SymbolFileNativePDB::FindSymbolScope(), lldb_private::npdb::PdbAstBuilder::GetOrCreateInlinedFunctionDecl(), lldb_private::npdb::PdbAstBuilder::ParseAllFunctionsAndNonLocalVars(), lldb_private::npdb::PdbAstBuilder::ParseBlockChildren(), ParseExtendedInfo(), lldb_private::npdb::SymbolFileNativePDB::ParseFunctions(), ParseInlineeLineTableForCompileUnit(), lldb_private::npdb::SymbolFileNativePDB::ParseInlineSite(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), lldb_private::npdb::SymbolFileNativePDB::ParseSymbolArrayInScope(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForBlock(), and lldb_private::npdb::PdbIndex::ReadSymbolRecord().
std::vector<llvm::StringRef> lldb_private::npdb::CompilandIndexItem::m_file_list |
Definition at line 57 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::SymbolFileNativePDB::GetFileIndex(), and lldb_private::npdb::SymbolFileNativePDB::ParseSupportFiles().
GlobalLineTable lldb_private::npdb::CompilandIndexItem::m_global_line_table |
Definition at line 85 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::SymbolFileNativePDB::ParseInlineSite(), and lldb_private::npdb::SymbolFileNativePDB::ParseLineTable().
PdbCompilandId lldb_private::npdb::CompilandIndexItem::m_id |
Definition at line 46 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::PdbIndex::BuildAddrToSymbolMap(), CompilandIndexItem(), lldb_private::npdb::SymbolFileNativePDB::CreateCompileUnit(), and lldb_private::npdb::SymbolFileNativePDB::GetOrCreateCompileUnit().
std::map<llvm::codeview::TypeIndex, llvm::codeview::InlineeSourceLine> lldb_private::npdb::CompilandIndexItem::m_inline_map |
Definition at line 78 of file CompileUnitIndex.h.
Referenced by ParseInlineeLineTableForCompileUnit(), and lldb_private::npdb::SymbolFileNativePDB::ParseInlineSite().
llvm::pdb::DbiModuleDescriptor lldb_private::npdb::CompilandIndexItem::m_module_descriptor |
Definition at line 52 of file CompileUnitIndex.h.
Referenced by CompilandIndexItem().
std::optional<llvm::codeview::ObjNameSym> lldb_private::npdb::CompilandIndexItem::m_obj_name |
Definition at line 69 of file CompileUnitIndex.h.
Referenced by ParseExtendedInfo(), and ParseObjname().
llvm::codeview::StringsAndChecksumsRef lldb_private::npdb::CompilandIndexItem::m_strings |
Definition at line 54 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::SymbolFileNativePDB::GetFileIndex().
std::map<lldb::addr_t, PdbSymUid> lldb_private::npdb::CompilandIndexItem::m_symbols_by_va |
Definition at line 63 of file CompileUnitIndex.h.
Referenced by lldb_private::npdb::PdbIndex::BuildAddrToSymbolMap(), and lldb_private::npdb::PdbIndex::FindSymbolsByVa().