Home
last modified time | relevance | path

Searched refs:PDBFile (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp41 PDBFile::PDBFile(StringRef Path, std::unique_ptr<BinaryStream> PdbFileBuffer, in PDBFile() function in PDBFile
46 PDBFile::~PDBFile() = default;
48 StringRef PDBFile::getFilePath() const { return FilePath; } in getFilePath()
50 StringRef PDBFile::getFileDirectory() const { in getFileDirectory()
54 uint32_t PDBFile::getBlockSize() const { return ContainerLayout.SB->BlockSize; } in getBlockSize()
56 uint32_t PDBFile::getFreeBlockMapBlock() const { in getFreeBlockMapBlock()
60 uint32_t PDBFile::getBlockCount() const { in getBlockCount()
64 uint32_t PDBFile::getNumDirectoryBytes() const { in getNumDirectoryBytes()
68 uint32_t PDBFile::getBlockMapIndex() const { in getBlockMapIndex()
72 uint32_t PDBFile::getUnknown1() const { return ContainerLayout.SB->Unknown1; } in getUnknown1()
[all …]
H A DNativeEnumInjectedSources.cpp13 #include "llvm/DebugInfo/PDB/Native/PDBFile.h"
40 PDBFile &File;
44 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource()
98 PDBFile &File, const InjectedSourceStream &IJS, in NativeEnumInjectedSources()
H A DInputFile.cpp39 llvm::pdb::getModuleDebugStream(PDBFile &File, StringRef &ModuleName, in getModuleDebugStream()
69 Expected<ModuleDebugStreamRef> llvm::pdb::getModuleDebugStream(PDBFile &File, in getModuleDebugStream()
349 PDBFile &InputFile::pdb() { in pdb()
351 return *cast<PDBFile *>(PdbOrObj); in pdb()
354 const PDBFile &InputFile::pdb() const { in pdb()
356 return *cast<PDBFile *>(PdbOrObj); in pdb()
406 bool InputFile::isPdb() const { return isa<PDBFile *>(PdbOrObj); } in isPdb()
H A DDbiStream.cpp50 Error DbiStream::reload(PDBFile *Pdb) { in reload()
256 Error DbiStream::initializeSectionHeadersData(PDBFile *Pdb) { in initializeSectionHeadersData()
282 Error DbiStream::initializeOldFpoRecords(PDBFile *Pdb) { in initializeOldFpoRecords()
306 Error DbiStream::initializeNewFpoRecords(PDBFile *Pdb) { in initializeNewFpoRecords()
324 DbiStream::createIndexedStreamForHeaderType(PDBFile *Pdb, in createIndexedStreamForHeaderType()
H A DNativeSession.cpp23 #include "llvm/DebugInfo/PDB/Native/PDBFile.h"
55 static DbiStream *getDbiStreamPtr(PDBFile &File) {
64 NativeSession::NativeSession(std::unique_ptr<PDBFile> PdbFile, in getDbiStreamPtr()
78 auto File = std::make_unique<PDBFile>(Path, std::move(Stream), *Allocator); in createFromPdb()
90 static Expected<std::unique_ptr<PDBFile>> in createFromPdb()
108 auto File = std::make_unique<PDBFile>(PdbPath, std::move(Stream), *Allocator); in loadPdbFile()
H A DLinePrinter.cpp17 #include "llvm/DebugInfo/PDB/Native/PDBFile.h"
179 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File,
217 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File,
252 PDBFile &File, const msf::MSFStreamLayout &StreamLayout) { in formatMsfStreamBlocks()
/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h36 class PDBFile; variable
45 Error reload(PDBFile *Pdb);
97 Error initializeSectionHeadersData(PDBFile *Pdb);
99 Error initializeOldFpoRecords(PDBFile *Pdb);
100 Error initializeNewFpoRecords(PDBFile *Pdb);
103 createIndexedStreamForHeaderType(PDBFile *Pdb, DbgHeaderType Type) const;
H A DInputFile.h34 class PDBFile; variable
45 PointerUnion<PDBFile *, object::COFFObjectFile *, MemoryBuffer *> PdbOrObj;
57 InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; } in InputFile()
66 PDBFile &pdb();
67 const PDBFile &pdb() const;
156 getModuleDebugStream(PDBFile &File, StringRef &ModuleName, uint32_t Index);
157 Expected<ModuleDebugStreamRef> getModuleDebugStream(PDBFile &File,
H A DNativeEnumInjectedSources.h20 class PDBFile; variable
25 NativeEnumInjectedSources(PDBFile &File, const InjectedSourceStream &IJS,
35 PDBFile &File;
H A DNativeSession.h23 class PDBFile; variable
39 NativeSession(std::unique_ptr<PDBFile> PdbFile,
109 PDBFile &getPDBFile() { return *Pdb; } in getPDBFile()
110 const PDBFile &getPDBFile() const { return *Pdb; } in getPDBFile()
126 std::unique_ptr<PDBFile> Pdb;
H A DTpiStream.h32 class PDBFile; variable
38 TpiStream(PDBFile &File, std::unique_ptr<msf::MappedBlockStream> Stream);
77 PDBFile &Pdb;
H A DLinePrinter.h47 class PDBFile; variable
75 void formatMsfStreamData(StringRef Label, PDBFile &File, uint32_t StreamIdx,
78 void formatMsfStreamData(StringRef Label, PDBFile &File,
81 void formatMsfStreamBlocks(PDBFile &File, const msf::MSFStreamLayout &Stream);
H A DPDBFile.h40 class PDBFile : public msf::IMSFFile {
44 PDBFile(StringRef Path, std::unique_ptr<BinaryStream> PdbFileBuffer,
46 ~PDBFile() override;
/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.h26 class PDBFile; variable
30 BytesOutputStyle(PDBFile &File);
60 PDBFile &File;
H A DDumpOutputStyle.h66 PDBFile &getPdb();
86 Error dumpOldFpo(PDBFile &File);
87 Error dumpNewFpo(PDBFile &File);
H A DYAMLOutputStyle.h23 YAMLOutputStyle(PDBFile &File);
40 PDBFile &File;
H A DStreamUtil.h20 class PDBFile; variable
58 void discoverStreamPurposes(PDBFile &File,
H A Dllvm-pdbutil.h27 class PDBFile; variable
30 typedef llvm::PointerUnion<object::COFFObjectFile *, pdb::PDBFile *>
207 enum class InputFileType { PDBFile, PDBStream, DBIStream, Names, ModuleStream }; enumerator
H A DBytesOutputStyle.cpp85 BytesOutputStyle::BytesOutputStyle(PDBFile &File) in BytesOutputStyle()
323 static void iterateOneModule(PDBFile &File, LinePrinter &P, in iterateOneModule()
354 static void iterateModules(PDBFile &File, LinePrinter &P, uint32_t IndentLevel, in iterateModules()
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.h50 llvm::pdb::PDBFile *m_file = nullptr;
112 static llvm::Expected<std::unique_ptr<PdbIndex>> create(llvm::pdb::PDBFile *);
118 llvm::pdb::PDBFile &pdb() { return *m_file; } in pdb()
119 const llvm::pdb::PDBFile &pdb() const { return *m_file; } in pdb()
H A DSymbolFileNativePDB.h155 llvm::pdb::PDBFile &GetPDBFile() { return m_index->pdb(); } in GetPDBFile()
156 const llvm::pdb::PDBFile &GetPDBFile() const { return m_index->pdb(); } in GetPDBFile()
269 std::unique_ptr<llvm::pdb::PDBFile> m_file_up;
/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.h30 static std::unique_ptr<llvm::pdb::PDBFile>
90 llvm::pdb::PDBFile &GetPDBFile() { return *m_file_up; } in GetPDBFile()
99 std::unique_ptr<llvm::pdb::PDBFile> m_file_up;
H A DObjectFilePDB.cpp118 std::unique_ptr<PDBFile> pdb_file = loadPDBFile(file.GetPath(), allocator); in GetModuleSpecifications()
166 std::unique_ptr<PDBFile>
184 auto File = std::make_unique<PDBFile>(Path, std::move(Stream), Allocator); in loadPDBFile()
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h101 Error loadTargetInfo(const llvm::pdb::PDBFile &Pdb);
108 llvm::pdb::PDBFile &getPdb() { return Input.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)
/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp54 if (isa<PDBFile *>(Input)) { in createReader()
55 PDBFile &Pdb = *cast<PDBFile *>(Input); in createReader()

12