Home
last modified time | relevance | path

Searched refs:Dbi (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-pdbutil/
DStreamUtil.cpp70 auto Dbi = File.getPDBDbiStream(); in discoverStreamPurposes() local
79 if (Dbi) { in discoverStreamPurposes()
80 const DbiModuleList &Modules = Dbi->modules(); in discoverStreamPurposes()
110 else if (Dbi && StreamIdx == Dbi->getGlobalSymbolStreamIndex()) in discoverStreamPurposes()
113 else if (Dbi && StreamIdx == Dbi->getPublicSymbolStreamIndex()) in discoverStreamPurposes()
116 else if (Dbi && StreamIdx == Dbi->getSymRecordStreamIndex()) in discoverStreamPurposes()
131 else if (Dbi && in discoverStreamPurposes()
132 StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Exception)) in discoverStreamPurposes()
135 else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Fixup)) in discoverStreamPurposes()
138 else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::FPO)) in discoverStreamPurposes()
[all …]
DExplainOutputStyle.cpp71 DbiStream Dbi(std::move(Stream)); in explainBinaryFile() local
72 if (auto EC = Dbi.reload(nullptr)) in explainBinaryFile()
74 explainStreamOffset(Dbi, FileOffset); in explainBinaryFile()
256 DbiStream &Dbi = cantFail(File.pdb().getPDBDbiStream()); in explainPdbStreamOffset() local
257 explainStreamOffset(Dbi, StreamOff); in explainPdbStreamOffset()
296 static void explainDbiHeaderOffset(LinePrinter &P, DbiStream &Dbi, in explainDbiHeaderOffset() argument
298 const DbiStreamHeader *Header = Dbi.getHeader(); in explainDbiHeaderOffset()
357 static void explainDbiModiSubstreamOffset(LinePrinter &P, DbiStream &Dbi, in explainDbiModiSubstreamOffset() argument
360 BinaryStreamRef ModiSubstreamData = Dbi.getModiSubstreamData().StreamData; in explainDbiModiSubstreamOffset()
403 void ExplainOutputStyle::explainStreamOffset(DbiStream &Dbi, in explainStreamOffset() argument
[all …]
DInputFile.cpp41 auto &Dbi = Err(File.getPDBDbiStream()); in getModuleDebugStream() local
42 const auto &Modules = Dbi.modules(); in getModuleDebugStream()
501 auto &Dbi = cantFail(Value.File->pdb().getPDBDbiStream()); in isEnd() local
502 uint32_t Count = Dbi.modules().getModuleCount(); in isEnd()
DDumpOutputStyle.cpp416 auto &Dbi = Err(File.getPDBDbiStream()); in getModuleDebugStream() local
417 const auto &Modules = Dbi.modules(); in getModuleDebugStream()
507 auto &Dbi = cantFail(File.getPDBDbiStream()); in loadSectionHeaders() local
508 uint32_t SI = Dbi.getDebugStreamIndex(Type); in loadSectionHeaders()
1091 auto &Dbi = Err(File.getPDBDbiStream()); in dumpOldFpo() local
1093 if (!Dbi.hasOldFpoRecords()) { in dumpOldFpo()
1098 const FixedStreamArray<object::FpoData>& Records = Dbi.getOldFpoRecords(); in dumpOldFpo()
1118 auto &Dbi = Err(File.getPDBDbiStream()); in dumpNewFpo() local
1120 if (!Dbi.hasNewFpoRecords()) { in dumpNewFpo()
1125 const DebugFrameDataSubsectionRef& FDS = Dbi.getNewFpoRecords(); in dumpNewFpo()
[all …]
Dllvm-pdbutil.cpp802 const auto &Dbi = YamlObj.DbiStream.getValueOr(DefaultDbiStream); in yamlToPdb() local
804 DbiBuilder.setAge(Dbi.Age); in yamlToPdb()
805 DbiBuilder.setBuildNumber(Dbi.BuildNumber); in yamlToPdb()
806 DbiBuilder.setFlags(Dbi.Flags); in yamlToPdb()
807 DbiBuilder.setMachineType(Dbi.MachineType); in yamlToPdb()
808 DbiBuilder.setPdbDllRbld(Dbi.PdbDllRbld); in yamlToPdb()
809 DbiBuilder.setPdbDllVersion(Dbi.PdbDllVersion); in yamlToPdb()
810 DbiBuilder.setVersionHeader(Dbi.VerHeader); in yamlToPdb()
811 for (const auto &MI : Dbi.ModInfos) { in yamlToPdb()
/external/llvm/tools/llvm-pdbdump/
DLLVMOutputStyle.cpp120 auto Dbi = File.getPDBDbiStream(); in dumpStreamSummary() local
130 if (Dbi) { in dumpStreamSummary()
131 for (auto &ModI : Dbi->modules()) { in dumpStreamSummary()
156 else if (Dbi && StreamIdx == Dbi->getGlobalSymbolStreamIndex()) in dumpStreamSummary()
158 else if (Dbi && StreamIdx == Dbi->getPublicSymbolStreamIndex()) in dumpStreamSummary()
160 else if (Dbi && StreamIdx == Dbi->getSymRecordStreamIndex()) in dumpStreamSummary()
170 else if (Dbi && in dumpStreamSummary()
171 StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Exception)) in dumpStreamSummary()
173 else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::Fixup)) in dumpStreamSummary()
175 else if (Dbi && StreamIdx == Dbi->getDebugStreamIndex(DbgHeaderType::FPO)) in dumpStreamSummary()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeExeSymbol.cpp34 Dbi(getDbiStreamPtr(Session)) {} in NativeExeSymbol()
88 auto Dbi = Session.getPDBFile().getPDBDbiStream(); in hasCTypes() local
89 if (Dbi) in hasCTypes()
90 return Dbi->hasCTypes(); in hasCTypes()
91 consumeError(Dbi.takeError()); in hasCTypes()
96 auto Dbi = Session.getPDBFile().getPDBDbiStream(); in hasPrivateSymbols() local
97 if (Dbi) in hasPrivateSymbols()
98 return !Dbi->isStripped(); in hasPrivateSymbols()
99 consumeError(Dbi.takeError()); in hasPrivateSymbols()
DPDBFileBuilder.cpp58 if (!Dbi) in getDbiBuilder()
59 Dbi = std::make_unique<DbiStreamBuilder>(*Msf); in getDbiBuilder()
60 return *Dbi; in getDbiBuilder()
144 if (Dbi) { in finalizeMsfLayout()
145 Dbi->setPublicsStreamIndex(Gsi->getPublicsStreamIndex()); in finalizeMsfLayout()
146 Dbi->setGlobalsStreamIndex(Gsi->getGlobalsStreamIndex()); in finalizeMsfLayout()
147 Dbi->setSymbolRecordStreamIndex(Gsi->getRecordStreamIdx()); in finalizeMsfLayout()
154 if (Dbi) { in finalizeMsfLayout()
155 if (auto EC = Dbi->finalizeMsfLayout()) in finalizeMsfLayout()
302 if (Dbi) { in commit()
[all …]
DSymbolCache.cpp64 SymbolCache::SymbolCache(NativeSession &Session, DbiStream *Dbi) in SymbolCache() argument
65 : Session(Session), Dbi(Dbi) { in SymbolCache()
69 if (Dbi) in SymbolCache()
70 Compilands.resize(Dbi->modules().getModuleCount()); in SymbolCache()
252 if (!Dbi) in getNumCompilands()
255 return Dbi->modules().getModuleCount(); in getNumCompilands()
286 if (!Dbi) in getOrCreateCompiland()
293 const DbiModuleList &Modules = Dbi->modules(); in getOrCreateCompiland()
DPDBFile.cpp289 if (!Dbi) { in getPDBDbiStream()
296 Dbi = std::move(TempDbi); in getPDBDbiStream()
298 return *Dbi; in getPDBDbiStream()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeExeSymbol.cpp34 Dbi(getDbiStreamPtr(Session)) {} in NativeExeSymbol()
88 auto Dbi = Session.getPDBFile().getPDBDbiStream(); in hasCTypes() local
89 if (Dbi) in hasCTypes()
90 return Dbi->hasCTypes(); in hasCTypes()
91 consumeError(Dbi.takeError()); in hasCTypes()
96 auto Dbi = Session.getPDBFile().getPDBDbiStream(); in hasPrivateSymbols() local
97 if (Dbi) in hasPrivateSymbols()
98 return !Dbi->isStripped(); in hasPrivateSymbols()
99 consumeError(Dbi.takeError()); in hasPrivateSymbols()
DPDBFileBuilder.cpp57 if (!Dbi) in getDbiBuilder()
58 Dbi = std::make_unique<DbiStreamBuilder>(*Msf); in getDbiBuilder()
59 return *Dbi; in getDbiBuilder()
143 if (Dbi) { in finalizeMsfLayout()
144 Dbi->setPublicsStreamIndex(Gsi->getPublicsStreamIndex()); in finalizeMsfLayout()
145 Dbi->setGlobalsStreamIndex(Gsi->getGlobalsStreamIndex()); in finalizeMsfLayout()
146 Dbi->setSymbolRecordStreamIndex(Gsi->getRecordStreamIndex()); in finalizeMsfLayout()
153 if (Dbi) { in finalizeMsfLayout()
154 if (auto EC = Dbi->finalizeMsfLayout()) in finalizeMsfLayout()
301 if (Dbi) { in commit()
[all …]
DNativeSession.cpp223 auto Dbi = Pdb->getPDBDbiStream(); in addressForRVA() local
224 if (!Dbi) in addressForRVA()
231 for (; Section < Dbi->getSectionHeaders().size(); ++Section) { in addressForRVA()
232 auto &Sec = Dbi->getSectionHeaders()[Section]; in addressForRVA()
378 auto Dbi = getDbiStreamPtr(*Pdb); in getRVAFromSectOffset() local
379 if (!Dbi) in getRVAFromSectOffset()
382 uint32_t MaxSection = Dbi->getSectionHeaders().size(); in getRVAFromSectOffset()
385 auto &Sec = Dbi->getSectionHeaders()[Section - 1]; in getRVAFromSectOffset()
414 auto Dbi = Pdb->getPDBDbiStream(); in parseSectionContribs() local
415 if (!Dbi) in parseSectionContribs()
[all …]
DSymbolCache.cpp73 SymbolCache::SymbolCache(NativeSession &Session, DbiStream *Dbi) in SymbolCache() argument
74 : Session(Session), Dbi(Dbi) { in SymbolCache()
79 if (Dbi) in SymbolCache()
80 Compilands.resize(Dbi->modules().getModuleCount()); in SymbolCache()
262 if (!Dbi) in getNumCompilands()
265 return Dbi->modules().getModuleCount(); in getNumCompilands()
339 if (!Dbi) in findFunctionSymbolBySectOffset()
588 if (!Dbi) in getOrCreateCompiland()
595 const DbiModuleList &Modules = Dbi->modules(); in getOrCreateCompiland()
DPDBFile.cpp290 if (!Dbi) { in getPDBDbiStream()
297 Dbi = std::move(TempDbi); in getPDBDbiStream()
299 return *Dbi; in getPDBDbiStream()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFileBuilder.cpp101 if (!Dbi) in getDbiBuilder()
102 Dbi = llvm::make_unique<DbiStreamBuilder>(*File); in getDbiBuilder()
103 return *Dbi; in getDbiBuilder()
114 if (Dbi) { in build()
115 auto ExpectedDbi = Dbi->build(); in build()
118 File->Dbi = std::move(*ExpectedDbi); in build()
121 if (File->Info && File->Dbi && File->Info->getAge() != File->Dbi->getAge()) in build()
DDbiStreamBuilder.cpp73 auto Dbi = llvm::make_unique<DbiStream>(File, std::move(DS)); in build() local
74 Dbi->Header = H; in build()
75 return std::move(Dbi); in build()
DPDBFile.cpp190 if (!Dbi) { in getPDBDbiStream()
197 Dbi = std::move(TempDbi); in getPDBDbiStream()
199 return *Dbi; in getPDBDbiStream()
374 if (Dbi) { in commit()
375 if (auto EC = Dbi->commit()) in commit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DSymbolCache.h29 DbiStream *Dbi = nullptr; variable
82 SymbolCache(NativeSession &Session, DbiStream *Dbi);
DNativeExeSymbol.h22 DbiStream *Dbi = nullptr; variable
DPDBFileBuilder.h93 std::unique_ptr<DbiStreamBuilder> Dbi; variable
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DNativeExeSymbol.h22 DbiStream *Dbi = nullptr; variable
DSymbolCache.h33 DbiStream *Dbi = nullptr; variable
118 SymbolCache(NativeSession &Session, DbiStream *Dbi);
DPDBFileBuilder.h92 std::unique_ptr<DbiStreamBuilder> Dbi; variable
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DPDBFileBuilder.h53 std::unique_ptr<DbiStreamBuilder> Dbi; variable

12