class DbiStream
Declaration
class DbiStream { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:39
Member Variables
- private std::unique_ptr<BinaryStream> Stream
- private llvm::pdb::PDBStringTable ECNames
- private llvm::BinarySubstreamRef SecContrSubstream
- private llvm::BinarySubstreamRef SecMapSubstream
- private llvm::BinarySubstreamRef ModiSubstream
- private llvm::BinarySubstreamRef FileInfoSubstream
- private llvm::BinarySubstreamRef TypeServerMapSubstream
- private llvm::BinarySubstreamRef ECSubstream
- private llvm::pdb::DbiModuleList Modules
- private FixedStreamArray<support::ulittle16_t> DbgStreams
- private llvm::pdb::PdbRaw_DbiSecContribVer SectionContribVersion = PdbRaw_DbiSecContribVer::DbiSecContribVer60
- private FixedStreamArray<llvm::pdb::SectionContrib> SectionContribs
- private FixedStreamArray<llvm::pdb::SectionContrib2> SectionContribs2
- private FixedStreamArray<llvm::pdb::SecMapEntry> SectionMap
- private std::unique_ptr<msf::MappedBlockStream> SectionHeaderStream
- private FixedStreamArray<object::coff_section> SectionHeaders
- private std::unique_ptr<msf::MappedBlockStream> OldFpoStream
- private FixedStreamArray<object::FpoData> OldFpoRecords
- private std::unique_ptr<msf::MappedBlockStream> NewFpoStream
- private codeview::DebugFrameDataSubsectionRef NewFpoRecords
- private const llvm::pdb::DbiStreamHeader* Header
Method Overview
- public DbiStream(std::unique_ptr<BinaryStream> Stream)
- private Expected<std::unique_ptr<msf::MappedBlockStream>> createIndexedStreamForHeaderType(llvm::pdb::PDBFile * Pdb, llvm::pdb::DbgHeaderType Type) const
- public uint32_t getAge() const
- public uint16_t getBuildMajorVersion() const
- public uint16_t getBuildMinorVersion() const
- public uint16_t getBuildNumber() const
- public llvm::pdb::PdbRaw_DbiVer getDbiVersion() const
- public uint32_t getDebugStreamIndex(llvm::pdb::DbgHeaderType Type) const
- public Expected<llvm::StringRef> getECName(uint32_t NI) const
- public llvm::BinarySubstreamRef getECSubstreamData() const
- public llvm::BinarySubstreamRef getFileInfoSubstreamData() const
- public uint16_t getFlags() const
- public uint16_t getGlobalSymbolStreamIndex() const
- public const llvm::pdb::DbiStreamHeader * getHeader() const
- public llvm::pdb::PDB_Machine getMachineType() const
- public llvm::BinarySubstreamRef getModiSubstreamData() const
- public const codeview::DebugFrameDataSubsectionRef & getNewFpoRecords() const
- public FixedStreamArray<object::FpoData> getOldFpoRecords() const
- public uint16_t getPdbDllRbld() const
- public uint32_t getPdbDllVersion() const
- public uint16_t getPublicSymbolStreamIndex() const
- public llvm::BinarySubstreamRef getSecMapSubstreamData() const
- public llvm::BinarySubstreamRef getSectionContributionData() const
- public FixedStreamArray<object::coff_section> getSectionHeaders() const
- public FixedStreamArray<llvm::pdb::SecMapEntry> getSectionMap() const
- public uint32_t getSymRecordStreamIndex() const
- public llvm::BinarySubstreamRef getTypeServerMapSubstreamData() const
- public bool hasCTypes() const
- public bool hasNewFpoRecords() const
- public bool hasOldFpoRecords() const
- private llvm::Error initializeNewFpoRecords(llvm::pdb::PDBFile * Pdb)
- private llvm::Error initializeOldFpoRecords(llvm::pdb::PDBFile * Pdb)
- private llvm::Error initializeSectionContributionData()
- private llvm::Error initializeSectionHeadersData(llvm::pdb::PDBFile * Pdb)
- private llvm::Error initializeSectionMapData()
- public bool isIncrementallyLinked() const
- public bool isStripped() const
- public const llvm::pdb::DbiModuleList & modules() const
- public llvm::Error reload(llvm::pdb::PDBFile * Pdb)
- public void visitSectionContributions(llvm::pdb::ISectionContribVisitor & Visitor) const
- public ~DbiStream()
Methods
¶DbiStream(std::unique_ptr<BinaryStream> Stream)
DbiStream(std::unique_ptr<BinaryStream> Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:43
Parameters
- std::unique_ptr<BinaryStream> Stream
¶Expected<std::unique_ptr<msf::MappedBlockStream>>
createIndexedStreamForHeaderType(
llvm::pdb::PDBFile* Pdb,
llvm::pdb::DbgHeaderType Type) const
Expected<std::unique_ptr<msf::MappedBlockStream>>
createIndexedStreamForHeaderType(
llvm::pdb::PDBFile* Pdb,
llvm::pdb::DbgHeaderType Type) const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:103
Parameters
- llvm::pdb::PDBFile* Pdb
- llvm::pdb::DbgHeaderType Type
¶uint32_t getAge() const
uint32_t getAge() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:48
¶uint16_t getBuildMajorVersion() const
uint16_t getBuildMajorVersion() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:58
¶uint16_t getBuildMinorVersion() const
uint16_t getBuildMinorVersion() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:59
¶uint16_t getBuildNumber() const
uint16_t getBuildNumber() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:57
¶llvm::pdb::PdbRaw_DbiVer getDbiVersion() const
llvm::pdb::PdbRaw_DbiVer getDbiVersion() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:47
¶uint32_t getDebugStreamIndex(
llvm::pdb::DbgHeaderType Type) const
uint32_t getDebugStreamIndex(
llvm::pdb::DbgHeaderType Type) const
Description
If the given stream type is present, returns its stream index. If it is not present, returns InvalidStreamIndex.
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:79
Parameters
- llvm::pdb::DbgHeaderType Type
¶Expected<llvm::StringRef> getECName(
uint32_t NI) const
Expected<llvm::StringRef> getECName(
uint32_t NI) const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:93
Parameters
- uint32_t NI
¶llvm::BinarySubstreamRef getECSubstreamData()
const
llvm::BinarySubstreamRef getECSubstreamData()
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:75
¶llvm::BinarySubstreamRef
getFileInfoSubstreamData() const
llvm::BinarySubstreamRef
getFileInfoSubstreamData() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:73
¶uint16_t getFlags() const
uint16_t getFlags() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:52
¶uint16_t getGlobalSymbolStreamIndex() const
uint16_t getGlobalSymbolStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:50
¶const llvm::pdb::DbiStreamHeader* getHeader()
const
const llvm::pdb::DbiStreamHeader* getHeader()
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:68
¶llvm::pdb::PDB_Machine getMachineType() const
llvm::pdb::PDB_Machine getMachineType() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:66
¶llvm::BinarySubstreamRef getModiSubstreamData()
const
llvm::BinarySubstreamRef getModiSubstreamData()
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:72
¶const codeview::DebugFrameDataSubsectionRef&
getNewFpoRecords() const
const codeview::DebugFrameDataSubsectionRef&
getNewFpoRecords() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:88
¶FixedStreamArray<object::FpoData>
getOldFpoRecords() const
FixedStreamArray<object::FpoData>
getOldFpoRecords() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:86
¶uint16_t getPdbDllRbld() const
uint16_t getPdbDllRbld() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:61
¶uint32_t getPdbDllVersion() const
uint32_t getPdbDllVersion() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:62
¶uint16_t getPublicSymbolStreamIndex() const
uint16_t getPublicSymbolStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:49
¶llvm::BinarySubstreamRef getSecMapSubstreamData()
const
llvm::BinarySubstreamRef getSecMapSubstreamData()
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:71
¶llvm::BinarySubstreamRef
getSectionContributionData() const
llvm::BinarySubstreamRef
getSectionContributionData() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:70
¶FixedStreamArray<object::coff_section>
getSectionHeaders() const
FixedStreamArray<object::coff_section>
getSectionHeaders() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:83
¶FixedStreamArray<llvm::pdb::SecMapEntry>
getSectionMap() const
FixedStreamArray<llvm::pdb::SecMapEntry>
getSectionMap() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:90
¶uint32_t getSymRecordStreamIndex() const
uint32_t getSymRecordStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:64
¶llvm::BinarySubstreamRef
getTypeServerMapSubstreamData() const
llvm::BinarySubstreamRef
getTypeServerMapSubstreamData() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:74
¶bool hasCTypes() const
bool hasCTypes() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:54
¶bool hasNewFpoRecords() const
bool hasNewFpoRecords() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:87
¶bool hasOldFpoRecords() const
bool hasOldFpoRecords() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:85
¶llvm::Error initializeNewFpoRecords(
llvm::pdb::PDBFile* Pdb)
llvm::Error initializeNewFpoRecords(
llvm::pdb::PDBFile* Pdb)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:100
Parameters
- llvm::pdb::PDBFile* Pdb
¶llvm::Error initializeOldFpoRecords(
llvm::pdb::PDBFile* Pdb)
llvm::Error initializeOldFpoRecords(
llvm::pdb::PDBFile* Pdb)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:99
Parameters
- llvm::pdb::PDBFile* Pdb
¶llvm::Error initializeSectionContributionData()
llvm::Error initializeSectionContributionData()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:96
¶llvm::Error initializeSectionHeadersData(
llvm::pdb::PDBFile* Pdb)
llvm::Error initializeSectionHeadersData(
llvm::pdb::PDBFile* Pdb)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:97
Parameters
- llvm::pdb::PDBFile* Pdb
¶llvm::Error initializeSectionMapData()
llvm::Error initializeSectionMapData()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:98
¶bool isIncrementallyLinked() const
bool isIncrementallyLinked() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:53
¶bool isStripped() const
bool isStripped() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:55
¶const llvm::pdb::DbiModuleList& modules() const
const llvm::pdb::DbiModuleList& modules() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:81
¶llvm::Error reload(llvm::pdb::PDBFile* Pdb)
llvm::Error reload(llvm::pdb::PDBFile* Pdb)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:45
Parameters
- llvm::pdb::PDBFile* Pdb
¶void visitSectionContributions(
llvm::pdb::ISectionContribVisitor& Visitor)
const
void visitSectionContributions(
llvm::pdb::ISectionContribVisitor& Visitor)
const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:91
Parameters
- llvm::pdb::ISectionContribVisitor& Visitor
¶~DbiStream()
~DbiStream()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:44