#include "CompileUnitIndex.h"
#include "PdbIndex.h"
#include "PdbUtil.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/InfoStream.h"
#include "llvm/DebugInfo/PDB/Native/ModuleDebugStream.h"
#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/Support/Path.h"
#include "lldb/Utility/LLDBAssert.h"
usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::npdb;
usingnamespacellvm::codeview;
usingnamespacellvm::pdb;
static bool IsMainFile(llvm::StringRef main, llvm::StringRef other) { … }
static void ParseCompile3(const CVSymbol &sym, CompilandIndexItem &cci) { … }
static void ParseObjname(const CVSymbol &sym, CompilandIndexItem &cci) { … }
static void ParseBuildInfo(PdbIndex &index, const CVSymbol &sym,
CompilandIndexItem &cci) { … }
static void ParseExtendedInfo(PdbIndex &index, CompilandIndexItem &item) { … }
static void ParseInlineeLineTableForCompileUnit(CompilandIndexItem &item) { … }
CompilandIndexItem::CompilandIndexItem(
PdbCompilandId id, llvm::pdb::ModuleDebugStreamRef debug_stream,
llvm::pdb::DbiModuleDescriptor descriptor)
: … { … }
CompilandIndexItem &CompileUnitIndex::GetOrCreateCompiland(uint16_t modi) { … }
const CompilandIndexItem *CompileUnitIndex::GetCompiland(uint16_t modi) const { … }
CompilandIndexItem *CompileUnitIndex::GetCompiland(uint16_t modi) { … }
llvm::SmallString<64>
CompileUnitIndex::GetMainSourceFile(const CompilandIndexItem &item) const { … }