10 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBDBISTREAM_H
11 #define LLVM_DEBUGINFO_PDB_RAW_PDBDBISTREAM_H
32 class DbiStreamBuilder;
34 class ISectionContribVisitor;
81 Error initializeModInfoArray();
82 Error initializeSectionContributionData();
83 Error initializeSectionHeadersData();
84 Error initializeSectionMapData();
85 Error initializeFileInfo();
86 Error initializeFpoRecords();
89 std::unique_ptr<msf::MappedBlockStream> Stream;
91 std::vector<ModuleInfoEx> ModuleInfos;
111 std::unique_ptr<msf::MappedBlockStream> SectionHeaderStream;
114 std::unique_ptr<msf::MappedBlockStream> FpoStream;
void visitSectionContributions(ISectionContribVisitor &Visitor) const
DbiStream(PDBFile &File, std::unique_ptr< msf::MappedBlockStream > Stream)
uint16_t getPublicSymbolStreamIndex() const
uint16_t getGlobalSymbolStreamIndex() const
uint32_t getPdbDllVersion() const
bool isIncrementallyLinked() const
uint16_t getBuildMajorVersion() const
Tagged union holding either a T or a Error.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
uint16_t getFlags() const
msf::FixedStreamArray< SecMapEntry > getSectionMap() const
The instances of the Type class are immutable: once they are created, they are never changed...
uint16_t getBuildNumber() const
PDB_Machine getMachineType() const
Expected< StringRef > getFileNameForIndex(uint32_t Index) const
msf::FixedStreamArray< object::FpoData > getFpoRecords()
ArrayRef< ModuleInfoEx > modules() const
uint32_t getSymRecordStreamIndex() const
uint16_t getPdbDllRbld() const
uint32_t getDebugStreamIndex(DbgHeaderType Type) const
If the given stream type is present, returns its stream index.
PdbRaw_DbiVer getDbiVersion() const
msf::FixedStreamArray< object::coff_section > getSectionHeaders()
uint16_t getBuildMinorVersion() const
Lightweight error class with error context and mandatory checking.