LLVM  7.0.0svn
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 29 of file InfoStream.h.

Constructor & Destructor Documentation

◆ InfoStream()

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

Definition at line 23 of file InfoStream.cpp.

Member Function Documentation

◆ containsIdStream()

bool InfoStream::containsIdStream ( ) const

◆ getAge()

uint32_t InfoStream::getAge ( ) const

Definition at line 112 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ getFeatures()

PdbRaw_Features InfoStream::getFeatures ( ) const

Definition at line 120 of file InfoStream.cpp.

Referenced by getHeader().

◆ getFeatureSignatures()

ArrayRef< PdbRaw_FeatureSig > InfoStream::getFeatureSignatures ( ) const

Definition at line 122 of file InfoStream.cpp.

Referenced by getHeader().

◆ getGuid()

GUID InfoStream::getGuid ( ) const

Definition at line 114 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ getHeader()

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

◆ getNamedStreamIndex()

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

Definition at line 89 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ getNamedStreamMapByteSize()

uint32_t InfoStream::getNamedStreamMapByteSize ( ) const

Definition at line 116 of file InfoStream.cpp.

Referenced by getHeader().

◆ getNamedStreams()

const NamedStreamMap & InfoStream::getNamedStreams ( ) const

Definition at line 126 of file InfoStream.cpp.

Referenced by getHeader().

◆ getNamedStreamsBuffer()

BinarySubstreamRef InfoStream::getNamedStreamsBuffer ( ) const

Definition at line 130 of file InfoStream.cpp.

Referenced by getHeader().

◆ getSignature()

uint32_t InfoStream::getSignature ( ) const

Definition at line 108 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ getStreamSize()

uint32_t InfoStream::getStreamSize ( ) const

Definition at line 87 of file InfoStream.cpp.

◆ getVersion()

PdbRaw_ImplVer InfoStream::getVersion ( ) const

Definition at line 104 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ named_streams()

StringMap< uint32_t > InfoStream::named_streams ( ) const

Definition at line 96 of file InfoStream.cpp.

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

Referenced by getHeader().

◆ reload()

Error InfoStream::reload ( )

Friends And Related Function Documentation

◆ InfoStreamBuilder

friend class InfoStreamBuilder
friend

Definition at line 30 of file InfoStream.h.


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