Home
last modified time | relevance | path

Searched refs:Pdb (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp50 Error DbiStream::reload(PDBFile *Pdb) { in reload() argument
123 if (auto EC = initializeSectionHeadersData(Pdb)) in reload()
127 if (auto EC = initializeOldFpoRecords(Pdb)) in reload()
129 if (auto EC = initializeNewFpoRecords(Pdb)) in reload()
256 Error DbiStream::initializeSectionHeadersData(PDBFile *Pdb) { in initializeSectionHeadersData() argument
258 createIndexedStreamForHeaderType(Pdb, DbgHeaderType::SectionHdr); in initializeSectionHeadersData()
282 Error DbiStream::initializeOldFpoRecords(PDBFile *Pdb) { in initializeOldFpoRecords() argument
284 createIndexedStreamForHeaderType(Pdb, DbgHeaderType::FPO); in initializeOldFpoRecords()
306 Error DbiStream::initializeNewFpoRecords(PDBFile *Pdb) { in initializeNewFpoRecords() argument
308 createIndexedStreamForHeaderType(Pdb, DbgHeaderType::NewFPO); in initializeNewFpoRecords()
[all …]
H A DNativeSession.cpp66 : Pdb(std::move(PdbFile)), Allocator(std::move(Allocator)), in NativeSession()
67 Cache(*this, getDbiStreamPtr(*Pdb)), AddrToModuleIndex(IMapAllocator) {} in NativeSession()
230 auto Dbi = Pdb->getPDBDbiStream(); in addressForRVA()
346 auto ISS = Pdb->getInjectedSourceStream(); in getInjectedSources()
351 auto Strings = Pdb->getStringTable(); in getInjectedSources()
356 return std::make_unique<NativeEnumInjectedSources>(*Pdb, *ISS, *Strings); in getInjectedSources()
385 auto Dbi = getDbiStreamPtr(*Pdb); in getRVAFromSectOffset()
421 auto Dbi = Pdb->getPDBDbiStream(); in parseSectionContribs()
453 auto *Dbi = getDbiStreamPtr(*Pdb); in getModuleDebugStream()
463 Pdb->createIndexedStream(ModiStream); in getModuleDebugStream()
H A DDbiModuleDescriptorBuilder.cpp84 assert(BulkSymbols.size() % alignOf(CodeViewContainer::Pdb) == 0 && in addSymbolsInBulk()
96 assert(SymLength % alignOf(CodeViewContainer::Pdb) == 0 && in addUnmergedSymbols()
196 assert(SymbolWriter.getOffset() % alignOf(CodeViewContainer::Pdb) == 0 && in commitSymbolStream()
200 if (auto EC = Builder.commit(SymbolWriter, CodeViewContainer::Pdb)) in commitSymbolStream()
H A DTpiStream.cpp36 : Pdb(File), Stream(std::move(Stream)) {} in TpiStream()
80 auto HS = Pdb.safelyCreateIndexedStream(Header->HashStreamIndex); in reload()
H A DGSIStreamBuilder.cpp376 CodeViewContainer::Pdb)); in serializeAndAddGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h46 LLVM_ABI Error reload(PDBFile *Pdb);
100 Error initializeSectionHeadersData(PDBFile *Pdb);
102 Error initializeOldFpoRecords(PDBFile *Pdb);
103 Error initializeNewFpoRecords(PDBFile *Pdb);
106 createIndexedStreamForHeaderType(PDBFile *Pdb, DbgHeaderType Type) const;
H A DNativeSession.h110 PDBFile &getPDBFile() { return *Pdb; } in getPDBFile()
111 const PDBFile &getPDBFile() const { return *Pdb; } in getPDBFile()
127 std::unique_ptr<PDBFile> Pdb; variable
H A DInputFile.h58 InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; } in InputFile() argument
H A DTpiStream.h81 PDBFile &Pdb;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp399 PDBFile &Pdb = PdbSession->getPDBFile(); in loadTypeServer() local
404 Expected<InfoStream &> expectedInfo = Pdb.getPDBInfoStream(); in loadTypeServer()
411 TypeServer = std::make_shared<InputFile>(&Pdb); in loadTypeServer()
416 if (Error Err = traverseTypes(Pdb, Types, Ids)) in loadTypeServer()
573 Error LVCodeViewReader::traverseTypes(PDBFile &Pdb, in traverseTypes() argument
585 Expected<TpiStream &> StreamTpiOrErr = Pdb.getPDBTpiStream(); in traverseTypes()
597 Expected<TpiStream &> StreamIpiOrErr = Pdb.getPDBIpiStream(); in traverseTypes()
893 Error LVCodeViewReader::createScopes(PDBFile &Pdb) { in createScopes() argument
894 if (Error Err = loadTargetInfo(Pdb)) in createScopes()
897 if (!Pdb.hasPDBTpiStream() || !Pdb.hasPDBDbiStream()) in createScopes()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h101 Error loadTargetInfo(const llvm::pdb::PDBFile &Pdb);
149 Error traverseTypes(llvm::pdb::PDBFile &Pdb, LazyRandomTypeCollection &Types,
183 Error createScopes(llvm::pdb::PDBFile &Pdb);
198 llvm::pdb::PDBFile &Pdb, ScopedPrinter &W, StringRef ExePath)
200 Input(&Pdb), ExePath(ExePath), LogicalVisitor(this, W, Input) {}
/freebsd/contrib/llvm-project/lld/COFF/
H A DPDB.cpp601 alignTo(sym.length(), alignOf(CodeViewContainer::Pdb)); in analyzeSymbolSubsection()
679 alignTo(sym.length(), alignOf(CodeViewContainer::Pdb)); in writeAllModuleSymbolRecords()
1466 ons, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1468 cs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1470 ebs, bAlloc, CodeViewContainer::Pdb)); in addCommonLinkerModuleSymbols()
1496 cgs, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleCoffGroup()
1509 sym, bAlloc(), CodeViewContainer::Pdb)); in addLinkerModuleSectionSymbol()
1588 ons, bAlloc, CodeViewContainer::Pdb)); in addImportFilesToPDB()
1590 cs, bAlloc, CodeViewContainer::Pdb)); in addImportFilesToPDB()
1593 ts, bAlloc, CodeViewContainer::Pdb); in addImportFilesToPDB()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp55 PDBFile &Pdb = *cast<PDBFile *>(Input); in createReader() local
56 return std::make_unique<LVCodeViewReader>(Filename, FileFormatName, Pdb, in createReader()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h593 enum class CodeViewContainer { ObjectFile, Pdb }; enumerator
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp1481 SymbolDeserializer Deserializer(nullptr, CodeViewContainer::Pdb); in dumpModuleSymsForPdb()
1560 SymbolDeserializer Deserializer(nullptr, CodeViewContainer::Pdb); in dumpGSIRecords()
1599 SymbolDeserializer Deserializer(nullptr, CodeViewContainer::Pdb); in dumpGlobals()
1705 SymbolDeserializer Deserializer(nullptr, CodeViewContainer::Pdb); in dumpSymbolsFromGSI()
H A Dllvm-pdbutil.cpp851 Symbol.toCodeViewSymbol(Allocator, CodeViewContainer::Pdb)); in yamlToPdb()