9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_DBISTREAM_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_DBISTREAM_H
99 Error initializeSectionContributionData();
101 Error initializeSectionMapData();
108 std::unique_ptr<BinaryStream> Stream;
129 std::unique_ptr<msf::MappedBlockStream> SectionHeaderStream;
132 std::unique_ptr<msf::MappedBlockStream> OldFpoStream;
135 std::unique_ptr<msf::MappedBlockStream> NewFpoStream;
Lightweight arrays that are backed by an arbitrary BinaryStream.
An interface for accessing data in a stream-like format, but which discourages copying.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
MappedBlockStream represents data stored in an MSF file into chunks of a particular size (called the ...
LLVM_ABI Expected< StringRef > getECName(uint32_t NI) const
LLVM_ABI BinarySubstreamRef getSecMapSubstreamData() const
LLVM_ABI PDB_Machine getMachineType() const
LLVM_ABI BinarySubstreamRef getFileInfoSubstreamData() const
LLVM_ABI void visitSectionContributions(ISectionContribVisitor &Visitor) const
LLVM_ABI uint32_t getAge() const
LLVM_ABI bool isIncrementallyLinked() const
LLVM_ABI uint16_t getFlags() const
LLVM_ABI PdbRaw_DbiVer getDbiVersion() const
LLVM_ABI bool isStripped() const
LLVM_ABI bool hasNewFpoRecords() const
LLVM_ABI uint16_t getBuildMajorVersion() const
LLVM_ABI FixedStreamArray< object::coff_section > getSectionHeaders() const
LLVM_ABI uint16_t getGlobalSymbolStreamIndex() const
LLVM_ABI DbiStream(std::unique_ptr< BinaryStream > Stream)
LLVM_ABI Error reload(PDBFile *Pdb)
LLVM_ABI BinarySubstreamRef getTypeServerMapSubstreamData() const
LLVM_ABI BinarySubstreamRef getModiSubstreamData() const
const DbiStreamHeader * getHeader() const
LLVM_ABI const DbiModuleList & modules() const
LLVM_ABI uint16_t getBuildNumber() const
LLVM_ABI const codeview::DebugFrameDataSubsectionRef & getNewFpoRecords() const
LLVM_ABI uint16_t getBuildMinorVersion() const
LLVM_ABI uint32_t getDebugStreamIndex(DbgHeaderType Type) const
If the given stream type is present, returns its stream index.
LLVM_ABI FixedStreamArray< object::FpoData > getOldFpoRecords() const
LLVM_ABI uint32_t getPdbDllVersion() const
LLVM_ABI uint32_t getSymRecordStreamIndex() const
LLVM_ABI uint16_t getPublicSymbolStreamIndex() const
friend class DbiStreamBuilder
LLVM_ABI BinarySubstreamRef getECSubstreamData() const
LLVM_ABI bool hasCTypes() const
LLVM_ABI uint16_t getPdbDllRbld() const
LLVM_ABI FixedStreamArray< SecMapEntry > getSectionMap() const
LLVM_ABI BinarySubstreamRef getSectionContributionData() const
LLVM_ABI bool hasOldFpoRecords() const
This is an optimization pass for GlobalISel generic memory operations.