LLDB mainline
|
Indexes information about all compile units. More...
#include <CompileUnitIndex.h>
Public Member Functions | |
CompileUnitIndex (PdbIndex &index) | |
CompilandIndexItem & | GetOrCreateCompiland (uint16_t modi) |
const CompilandIndexItem * | GetCompiland (uint16_t modi) const |
CompilandIndexItem * | GetCompiland (uint16_t modi) |
llvm::SmallString< 64 > | GetMainSourceFile (const CompilandIndexItem &item) const |
Private Attributes | |
PdbIndex & | m_index |
llvm::DenseMap< uint16_t, std::unique_ptr< CompilandIndexItem > > | m_comp_units |
Indexes information about all compile units.
This is really just a map of global compile unit index to |CompilandIndexItem| structures.
Definition at line 90 of file CompileUnitIndex.h.
|
inlineexplicit |
Definition at line 95 of file CompileUnitIndex.h.
CompilandIndexItem * CompileUnitIndex::GetCompiland | ( | uint16_t | modi | ) |
Definition at line 205 of file CompileUnitIndex.cpp.
References m_comp_units.
const CompilandIndexItem * CompileUnitIndex::GetCompiland | ( | uint16_t | modi | ) | const |
Definition at line 198 of file CompileUnitIndex.cpp.
References m_comp_units.
Referenced by lldb_private::npdb::PdbAstBuilder::CreateFunctionParameters(), GetBaseFrameRegister(), lldb_private::npdb::PdbAstBuilder::GetOrCreateInlinedFunctionDecl(), and lldb_private::npdb::PdbIndex::ReadSymbolRecord().
llvm::SmallString< 64 > CompileUnitIndex::GetMainSourceFile | ( | const CompilandIndexItem & | item | ) | const |
Definition at line 213 of file CompileUnitIndex.cpp.
References lldb_private::npdb::PdbIndex::ipi(), lldb_private::npdb::CompilandIndexItem::m_build_info, and m_index.
Referenced by GetOrCreateCompiland().
CompilandIndexItem & CompileUnitIndex::GetOrCreateCompiland | ( | uint16_t | modi | ) |
Definition at line 133 of file CompileUnitIndex.cpp.
References lldb_private::npdb::PdbIndex::dbi(), GetMainSourceFile(), IsMainFile(), m_comp_units, m_index, ParseExtendedInfo(), ParseInlineeLineTableForCompileUnit(), and lldb_private::npdb::PdbIndex::pdb().
Referenced by lldb_private::npdb::PdbIndex::FindSymbolsByVa(), lldb_private::npdb::PdbAstBuilder::ParseAllFunctionsAndNonLocalVars(), and lldb_private::npdb::PdbAstBuilder::ParseBlockChildren().
|
private |
Definition at line 92 of file CompileUnitIndex.h.
Referenced by GetCompiland(), and GetOrCreateCompiland().
|
private |
Definition at line 91 of file CompileUnitIndex.h.
Referenced by GetMainSourceFile(), and GetOrCreateCompiland().