9 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBDBISTREAM_H 10 #define LLVM_DEBUGINFO_PDB_RAW_PDBDBISTREAM_H 33 class DbiStreamBuilder;
35 class ISectionContribVisitor;
41 explicit DbiStream(std::unique_ptr<BinaryStream> Stream);
47 uint16_t getPublicSymbolStreamIndex()
const;
48 uint16_t getGlobalSymbolStreamIndex()
const;
51 bool isIncrementallyLinked()
const;
52 bool hasCTypes()
const;
53 bool isStripped()
const;
56 uint16_t getBuildMajorVersion()
const;
57 uint16_t getBuildMinorVersion()
const;
62 uint32_t getSymRecordStreamIndex()
const;
83 bool hasOldFpoRecords()
const;
85 bool hasNewFpoRecords()
const;
94 Error initializeSectionContributionData();
96 Error initializeSectionMapData();
103 std::unique_ptr<BinaryStream> Stream;
124 std::unique_ptr<msf::MappedBlockStream> SectionHeaderStream;
127 std::unique_ptr<msf::MappedBlockStream> OldFpoStream;
130 std::unique_ptr<msf::MappedBlockStream> NewFpoStream;
This class represents lattice values for constants.
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
Tagged union holding either a T or a Error.
The instances of the Type class are immutable: once they are created, they are never changed...
const DbiStreamHeader * getHeader() const
static uint32_t getFlags(const Symbol *Sym)
COFF::MachineTypes getMachineType(StringRef S)
Lightweight error class with error context and mandatory checking.