LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::pdb::InfoStream Class Reference

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

Public Member Functions

 InfoStream (std::unique_ptr< BinaryStream > Stream)
 
Error reload ()
 
uint32_t getStreamSize () const
 
const InfoStreamHeadergetHeader () const
 
bool containsIdStream () const
 
PdbRaw_ImplVer getVersion () const
 
uint32_t getSignature () const
 
uint32_t getAge () const
 
codeview::GUID getGuid () const
 
uint32_t getNamedStreamMapByteSize () const
 
PdbRaw_Features getFeatures () const
 
ArrayRef< PdbRaw_FeatureSiggetFeatureSignatures () const
 
const NamedStreamMapgetNamedStreams () const
 
BinarySubstreamRef getNamedStreamsBuffer () const
 
Expected< uint32_tgetNamedStreamIndex (llvm::StringRef Name) const
 
StringMap< uint32_tnamed_streams () const
 

Friends

class InfoStreamBuilder
 

Detailed Description

Definition at line 24 of file InfoStream.h.

Constructor & Destructor Documentation

◆ InfoStream()

InfoStream::InfoStream ( std::unique_ptr< BinaryStream Stream)

Definition at line 20 of file InfoStream.cpp.

Member Function Documentation

◆ containsIdStream()

bool InfoStream::containsIdStream ( ) const

Definition at line 97 of file InfoStream.cpp.

References llvm::pdb::PdbFeatureContainsIdStream.

Referenced by llvm::pdb::PDBFile::hasPDBIpiStream().

◆ getAge()

uint32_t InfoStream::getAge ( ) const

Definition at line 109 of file InfoStream.cpp.

References llvm::pdb::InfoStreamHeader::Age.

◆ getFeatures()

PdbRaw_Features InfoStream::getFeatures ( ) const

Definition at line 117 of file InfoStream.cpp.

◆ getFeatureSignatures()

ArrayRef< PdbRaw_FeatureSig > InfoStream::getFeatureSignatures ( ) const

Definition at line 119 of file InfoStream.cpp.

◆ getGuid()

GUID InfoStream::getGuid ( ) const

Definition at line 111 of file InfoStream.cpp.

References llvm::pdb::InfoStreamHeader::Guid.

◆ getHeader()

const InfoStreamHeader * llvm::pdb::InfoStream::getHeader ( ) const
inline

Definition at line 34 of file InfoStream.h.

◆ getNamedStreamIndex()

Expected< uint32_t > InfoStream::getNamedStreamIndex ( llvm::StringRef  Name) const

Definition at line 86 of file InfoStream.cpp.

References llvm::pdb::NamedStreamMap::get(), Name, and llvm::pdb::no_stream.

◆ getNamedStreamMapByteSize()

uint32_t InfoStream::getNamedStreamMapByteSize ( ) const

Definition at line 113 of file InfoStream.cpp.

◆ getNamedStreams()

const NamedStreamMap & InfoStream::getNamedStreams ( ) const

Definition at line 123 of file InfoStream.cpp.

◆ getNamedStreamsBuffer()

BinarySubstreamRef InfoStream::getNamedStreamsBuffer ( ) const

Definition at line 127 of file InfoStream.cpp.

◆ getSignature()

uint32_t InfoStream::getSignature ( ) const

Definition at line 105 of file InfoStream.cpp.

References llvm::pdb::InfoStreamHeader::Signature.

◆ getStreamSize()

uint32_t InfoStream::getStreamSize ( ) const

Definition at line 84 of file InfoStream.cpp.

◆ getVersion()

PdbRaw_ImplVer InfoStream::getVersion ( ) const

Definition at line 101 of file InfoStream.cpp.

References llvm::pdb::InfoStreamHeader::Version.

◆ named_streams()

StringMap< uint32_t > InfoStream::named_streams ( ) const

Definition at line 93 of file InfoStream.cpp.

References llvm::pdb::NamedStreamMap::entries().

◆ reload()

Error InfoStream::reload ( )

Friends And Related Function Documentation

◆ InfoStreamBuilder

friend class InfoStreamBuilder
friend

Definition at line 25 of file InfoStream.h.


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