LLVM  6.0.0svn
Public Member Functions | Friends | List of all members
llvm::pdb::DbiStream Class Reference

#include "llvm/DebugInfo/PDB/Native/DbiStream.h"

Public Member Functions

 DbiStream (PDBFile &File, std::unique_ptr< msf::MappedBlockStream > Stream)
 
 ~DbiStream ()
 
Error reload ()
 
PdbRaw_DbiVer getDbiVersion () const
 
uint32_t getAge () const
 
uint16_t getPublicSymbolStreamIndex () const
 
uint16_t getGlobalSymbolStreamIndex () const
 
uint16_t getFlags () const
 
bool isIncrementallyLinked () const
 
bool hasCTypes () const
 
bool isStripped () const
 
uint16_t getBuildNumber () const
 
uint16_t getBuildMajorVersion () const
 
uint16_t getBuildMinorVersion () const
 
uint16_t getPdbDllRbld () const
 
uint32_t getPdbDllVersion () const
 
uint32_t getSymRecordStreamIndex () const
 
PDB_Machine getMachineType () const
 
BinarySubstreamRef getSectionContributionData () const
 
BinarySubstreamRef getSecMapSubstreamData () const
 
BinarySubstreamRef getModiSubstreamData () const
 
BinarySubstreamRef getFileInfoSubstreamData () const
 
BinarySubstreamRef getTypeServerMapSubstreamData () const
 
BinarySubstreamRef getECSubstreamData () const
 
uint32_t getDebugStreamIndex (DbgHeaderType Type) const
 If the given stream type is present, returns its stream index. More...
 
const DbiModuleListmodules () const
 
FixedStreamArray< object::coff_sectiongetSectionHeaders ()
 
FixedStreamArray< object::FpoDatagetFpoRecords ()
 
FixedStreamArray< SecMapEntrygetSectionMap () const
 
void visitSectionContributions (ISectionContribVisitor &Visitor) const
 
Expected< StringRefgetECName (uint32_t NI) const
 

Friends

class DbiStreamBuilder
 

Detailed Description

Definition at line 37 of file DbiStream.h.

Constructor & Destructor Documentation

◆ DbiStream()

DbiStream::DbiStream ( PDBFile File,
std::unique_ptr< msf::MappedBlockStream Stream 
)

Definition at line 49 of file DbiStream.cpp.

References ~DbiStream().

◆ ~DbiStream()

DbiStream::~DbiStream ( )
default

Referenced by DbiStream().

Member Function Documentation

◆ getAge()

uint32_t DbiStream::getAge ( ) const

Definition at line 152 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::Age.

◆ getBuildMajorVersion()

uint16_t DbiStream::getBuildMajorVersion ( ) const

◆ getBuildMinorVersion()

uint16_t DbiStream::getBuildMinorVersion ( ) const

◆ getBuildNumber()

uint16_t DbiStream::getBuildNumber ( ) const

Definition at line 176 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::BuildNumber.

◆ getDbiVersion()

PdbRaw_DbiVer DbiStream::getDbiVersion ( ) const

Definition at line 147 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::VersionHeader.

◆ getDebugStreamIndex()

uint32_t DbiStream::getDebugStreamIndex ( DbgHeaderType  Type) const

If the given stream type is present, returns its stream index.

If it is not present, returns InvalidStreamIndex.

Definition at line 345 of file DbiStream.cpp.

References llvm::pdb::kInvalidStreamIndex, and T.

Referenced by getECName().

◆ getECName()

Expected< StringRef > DbiStream::getECName ( uint32_t  NI) const

◆ getECSubstreamData()

BinarySubstreamRef DbiStream::getECSubstreamData ( ) const

◆ getFileInfoSubstreamData()

BinarySubstreamRef DbiStream::getFileInfoSubstreamData ( ) const

Definition at line 322 of file DbiStream.cpp.

◆ getFlags()

uint16_t DbiStream::getFlags ( ) const

Definition at line 162 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::Flags.

◆ getFpoRecords()

FixedStreamArray< object::FpoData > DbiStream::getFpoRecords ( )

Definition at line 205 of file DbiStream.cpp.

◆ getGlobalSymbolStreamIndex()

uint16_t DbiStream::getGlobalSymbolStreamIndex ( ) const

◆ getMachineType()

PDB_Machine DbiStream::getMachineType ( ) const

Definition at line 196 of file DbiStream.cpp.

References Machine, and llvm::pdb::DbiStreamHeader::MachineType.

◆ getModiSubstreamData()

BinarySubstreamRef DbiStream::getModiSubstreamData ( ) const

Definition at line 318 of file DbiStream.cpp.

◆ getPdbDllRbld()

uint16_t DbiStream::getPdbDllRbld ( ) const

Definition at line 188 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::PdbDllRbld.

◆ getPdbDllVersion()

uint32_t DbiStream::getPdbDllVersion ( ) const

Definition at line 190 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::PdbDllVersion.

◆ getPublicSymbolStreamIndex()

uint16_t DbiStream::getPublicSymbolStreamIndex ( ) const

◆ getSecMapSubstreamData()

BinarySubstreamRef DbiStream::getSecMapSubstreamData ( ) const

Definition at line 314 of file DbiStream.cpp.

◆ getSectionContributionData()

BinarySubstreamRef DbiStream::getSectionContributionData ( ) const

Definition at line 310 of file DbiStream.cpp.

◆ getSectionHeaders()

FixedStreamArray< object::coff_section > DbiStream::getSectionHeaders ( )

Definition at line 201 of file DbiStream.cpp.

◆ getSectionMap()

FixedStreamArray< SecMapEntry > DbiStream::getSectionMap ( ) const

Definition at line 211 of file DbiStream.cpp.

◆ getSymRecordStreamIndex()

uint32_t DbiStream::getSymRecordStreamIndex ( ) const

Definition at line 192 of file DbiStream.cpp.

References llvm::pdb::DbiStreamHeader::SymRecordStreamIndex.

◆ getTypeServerMapSubstreamData()

BinarySubstreamRef DbiStream::getTypeServerMapSubstreamData ( ) const

Definition at line 326 of file DbiStream.cpp.

◆ hasCTypes()

bool DbiStream::hasCTypes ( ) const

◆ isIncrementallyLinked()

bool DbiStream::isIncrementallyLinked ( ) const

◆ isStripped()

bool DbiStream::isStripped ( ) const

◆ modules()

const DbiModuleList & DbiStream::modules ( ) const

Definition at line 209 of file DbiStream.cpp.

◆ reload()

Error DbiStream::reload ( )

◆ visitSectionContributions()

void DbiStream::visitSectionContributions ( ISectionContribVisitor Visitor) const

Friends And Related Function Documentation

◆ DbiStreamBuilder

friend class DbiStreamBuilder
friend

Definition at line 38 of file DbiStream.h.


The documentation for this class was generated from the following files: