LLVM 22.0.0git
llvm::pdb::InfoStream Class Reference

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

Public Member Functions

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

Friends

class InfoStreamBuilder

Detailed Description

Definition at line 25 of file InfoStream.h.

Constructor & Destructor Documentation

◆ InfoStream()

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

Definition at line 20 of file InfoStream.cpp.

References llvm::move().

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.

◆ 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::codeview::GUID::Guid.

◆ getHeader()

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

Definition at line 35 of file InfoStream.h.

◆ getNamedStreamIndex()

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

Definition at line 86 of file InfoStream.cpp.

References llvm::make_error(), 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.

◆ 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.

◆ named_streams()

StringMap< uint32_t > InfoStream::named_streams ( ) const

Definition at line 93 of file InfoStream.cpp.

◆ reload()

◆ InfoStreamBuilder

friend class InfoStreamBuilder
friend

Definition at line 26 of file InfoStream.h.

References InfoStreamBuilder, and LLVM_ABI.

Referenced by InfoStreamBuilder.


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