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

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

Public Member Functions

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

Detailed Description

Definition at line 32 of file ModuleDebugStream.h.

Constructor & Destructor Documentation

◆ ModuleDebugStreamRef() [1/3]

LLVM_ABI 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

References LLVM_ABI.

Member Function Documentation

◆ commit()

Error ModuleDebugStreamRef::commit ( )

Definition at line 129 of file ModuleDebugStream.cpp.

References llvm::Error::success().

◆ findChecksumsSubsection()

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

◆ getC11LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC11LinesSubstream ( ) const

Definition at line 97 of file ModuleDebugStream.cpp.

◆ getC13LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC13LinesSubstream ( ) const

Definition at line 101 of file ModuleDebugStream.cpp.

◆ getGlobalRefsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getGlobalRefsSubstream ( ) const

Definition at line 105 of file ModuleDebugStream.cpp.

◆ getSubsectionsArray()

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

Definition at line 63 of file ModuleDebugStream.h.

Referenced by findInlineeByTypeIndex().

◆ getSymbolArray()

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

Definition at line 49 of file ModuleDebugStream.h.

◆ getSymbolArrayForScope()

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

Definition at line 89 of file ModuleDebugStream.cpp.

References llvm::codeview::limitSymbolArrayToScope().

◆ getSymbolsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getSymbolsSubstream ( ) const

Definition at line 93 of file ModuleDebugStream.cpp.

◆ hasDebugSubsections()

bool ModuleDebugStreamRef::hasDebugSubsections ( ) const

Definition at line 125 of file ModuleDebugStream.cpp.

◆ operator=()

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

◆ readSymbolAtOffset()

CVSymbol ModuleDebugStreamRef::readSymbolAtOffset ( uint32_t Offset) const

Definition at line 114 of file ModuleDebugStream.cpp.

References assert(), and llvm::pdb::Offset.

◆ reload()

◆ signature()

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

Definition at line 44 of file ModuleDebugStream.h.

◆ subsections()

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

Definition at line 121 of file ModuleDebugStream.cpp.

References llvm::make_range().

Referenced by findChecksumsSubsection().

◆ symbols()

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

Definition at line 110 of file ModuleDebugStream.cpp.

References llvm::make_range().


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