Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_DBISTREAM_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_DBISTREAM_H
29 class MappedBlockStream;
32 struct DbiStreamHeader;
34 struct SectionContrib2;
35 struct SectionContrib;
37 class ISectionContribVisitor;
43 explicit DbiStream(std::unique_ptr<BinaryStream> Stream);
96 Error initializeSectionContributionData();
98 Error initializeSectionMapData();
105 std::unique_ptr<BinaryStream> Stream;
126 std::unique_ptr<msf::MappedBlockStream> SectionHeaderStream;
129 std::unique_ptr<msf::MappedBlockStream> OldFpoStream;
132 std::unique_ptr<msf::MappedBlockStream> NewFpoStream;
bool hasOldFpoRecords() const
This is an optimization pass for GlobalISel generic memory operations.
void visitSectionContributions(ISectionContribVisitor &Visitor) const
uint16_t getPublicSymbolStreamIndex() const
uint16_t getFlags() const
The instances of the Type class are immutable: once they are created, they are never changed.
Tagged union holding either a T or a Error.
FixedStreamArray< object::FpoData > getOldFpoRecords() const
BinarySubstreamRef getSectionContributionData() const
PdbRaw_DbiVer getDbiVersion() const
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
Expected< StringRef > getECName(uint32_t NI) const
const codeview::DebugFrameDataSubsectionRef & getNewFpoRecords() const
BinarySubstreamRef getECSubstreamData() const
uint16_t getBuildNumber() const
bool hasNewFpoRecords() const
FixedStreamArray< object::coff_section > getSectionHeaders() const
BinarySubstreamRef getFileInfoSubstreamData() const
uint32_t getSymRecordStreamIndex() const
FixedStreamArray< SecMapEntry > getSectionMap() const
bool isIncrementallyLinked() const
bar al al movzbl eax ret Missed when stored in a memory object
BinarySubstreamRef getModiSubstreamData() const
uint16_t getPdbDllRbld() const
uint16_t getBuildMajorVersion() const
PDB_Machine getMachineType() const
Error reload(PDBFile *Pdb)
uint32_t getPdbDllVersion() const
DbiStream(std::unique_ptr< BinaryStream > Stream)
Lightweight error class with error context and mandatory checking.
uint16_t getGlobalSymbolStreamIndex() const
BinarySubstreamRef getTypeServerMapSubstreamData() const
uint16_t getBuildMinorVersion() const
const DbiStreamHeader * getHeader() const
BinarySubstreamRef getSecMapSubstreamData() const
uint32_t getDebugStreamIndex(DbgHeaderType Type) const
If the given stream type is present, returns its stream index.
const DbiModuleList & modules() const