LLVM 19.0.0git
Public Member Functions | List of all members
llvm::pdb::ModuleDebugStreamRef Class Reference

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

Public Member Functions

 ModuleDebugStreamRef (const DbiModuleDescriptor &Module, std::unique_ptr< msf::MappedBlockStream > Stream)
 
 ModuleDebugStreamRef (ModuleDebugStreamRef &&Other)=default
 
 ModuleDebugStreamRef (const ModuleDebugStreamRef &Other)=default
 
 ~ModuleDebugStreamRef ()
 
Error reload ()
 
uint32_t signature () const
 
iterator_range< codeview::CVSymbolArray::Iteratorsymbols (bool *HadError) const
 
const codeview::CVSymbolArraygetSymbolArray () const
 
const codeview::CVSymbolArray getSymbolArrayForScope (uint32_t ScopeBegin) const
 
BinarySubstreamRef getSymbolsSubstream () const
 
BinarySubstreamRef getC11LinesSubstream () const
 
BinarySubstreamRef getC13LinesSubstream () const
 
BinarySubstreamRef getGlobalRefsSubstream () const
 
ModuleDebugStreamRefoperator= (ModuleDebugStreamRef &&Other)=delete
 
codeview::CVSymbol readSymbolAtOffset (uint32_t Offset) const
 
iterator_range< DebugSubsectionIteratorsubsections () const
 
codeview::DebugSubsectionArray getSubsectionsArray () const
 
bool hasDebugSubsections () const
 
Error commit ()
 
Expected< codeview::DebugChecksumsSubsectionReffindChecksumsSubsection () const
 

Detailed Description

Definition at line 31 of file ModuleDebugStream.h.

Constructor & Destructor Documentation

◆ ModuleDebugStreamRef() [1/3]

llvm::pdb::ModuleDebugStreamRef::ModuleDebugStreamRef ( const DbiModuleDescriptor Module,
std::unique_ptr< msf::MappedBlockStream Stream 
)

◆ ModuleDebugStreamRef() [2/3]

llvm::pdb::ModuleDebugStreamRef::ModuleDebugStreamRef ( ModuleDebugStreamRef &&  Other)
default

◆ ModuleDebugStreamRef() [3/3]

llvm::pdb::ModuleDebugStreamRef::ModuleDebugStreamRef ( const ModuleDebugStreamRef Other)
default

◆ ~ModuleDebugStreamRef()

ModuleDebugStreamRef::~ModuleDebugStreamRef ( )
default

Member Function Documentation

◆ commit()

Error ModuleDebugStreamRef::commit ( )

Definition at line 131 of file ModuleDebugStream.cpp.

References llvm::Error::success().

◆ findChecksumsSubsection()

Expected< codeview::DebugChecksumsSubsectionRef > ModuleDebugStreamRef::findChecksumsSubsection ( ) const

Definition at line 134 of file ModuleDebugStream.cpp.

References llvm::codeview::EC, and subsections().

◆ getC11LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC11LinesSubstream ( ) const

Definition at line 99 of file ModuleDebugStream.cpp.

◆ getC13LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC13LinesSubstream ( ) const

Definition at line 103 of file ModuleDebugStream.cpp.

◆ getGlobalRefsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getGlobalRefsSubstream ( ) const

Definition at line 107 of file ModuleDebugStream.cpp.

◆ getSubsectionsArray()

codeview::DebugSubsectionArray llvm::pdb::ModuleDebugStreamRef::getSubsectionsArray ( ) const
inline

Definition at line 62 of file ModuleDebugStream.h.

Referenced by findInlineeByTypeIndex().

◆ getSymbolArray()

const codeview::CVSymbolArray & llvm::pdb::ModuleDebugStreamRef::getSymbolArray ( ) const
inline

Definition at line 48 of file ModuleDebugStream.h.

◆ getSymbolArrayForScope()

const codeview::CVSymbolArray ModuleDebugStreamRef::getSymbolArrayForScope ( uint32_t  ScopeBegin) const

Definition at line 91 of file ModuleDebugStream.cpp.

References llvm::codeview::limitSymbolArrayToScope().

◆ getSymbolsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getSymbolsSubstream ( ) const

Definition at line 95 of file ModuleDebugStream.cpp.

◆ hasDebugSubsections()

bool ModuleDebugStreamRef::hasDebugSubsections ( ) const

Definition at line 127 of file ModuleDebugStream.cpp.

References llvm::BinarySubstreamRef::empty().

◆ operator=()

ModuleDebugStreamRef & llvm::pdb::ModuleDebugStreamRef::operator= ( ModuleDebugStreamRef &&  Other)
delete

◆ readSymbolAtOffset()

CVSymbol ModuleDebugStreamRef::readSymbolAtOffset ( uint32_t  Offset) const

◆ reload()

Error ModuleDebugStreamRef::reload ( )

◆ signature()

uint32_t llvm::pdb::ModuleDebugStreamRef::signature ( ) const
inline

Definition at line 43 of file ModuleDebugStream.h.

◆ subsections()

iterator_range< ModuleDebugStreamRef::DebugSubsectionIterator > ModuleDebugStreamRef::subsections ( ) const

◆ symbols()

iterator_range< codeview::CVSymbolArray::Iterator > ModuleDebugStreamRef::symbols ( bool HadError) const

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