LLVM  8.0.1
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 29 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 123 of file ModuleDebugStream.cpp.

References llvm::Error::success().

Referenced by getSubsectionsArray().

◆ findChecksumsSubsection()

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

◆ getC11LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC11LinesSubstream ( ) const

Definition at line 91 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getC13LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC13LinesSubstream ( ) const

Definition at line 95 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getGlobalRefsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getGlobalRefsSubstream ( ) const

Definition at line 99 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getSubsectionsArray()

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

Definition at line 60 of file ModuleDebugStream.h.

References commit(), findChecksumsSubsection(), and hasDebugSubsections().

◆ getSymbolArray()

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

◆ getSymbolArrayForScope()

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

Definition at line 83 of file ModuleDebugStream.cpp.

References llvm::codeview::limitSymbolArrayToScope().

Referenced by getSymbolArray().

◆ getSymbolsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getSymbolsSubstream ( ) const

Definition at line 87 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ hasDebugSubsections()

bool ModuleDebugStreamRef::hasDebugSubsections ( ) const

Definition at line 119 of file ModuleDebugStream.cpp.

Referenced by getSubsectionsArray().

◆ operator=()

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

Referenced by getSymbolArray().

◆ readSymbolAtOffset()

CVSymbol ModuleDebugStreamRef::readSymbolAtOffset ( uint32_t  Offset) const

Definition at line 108 of file ModuleDebugStream.cpp.

References assert().

Referenced by getSymbolArray().

◆ reload()

Error ModuleDebugStreamRef::reload ( )

◆ signature()

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

Definition at line 41 of file ModuleDebugStream.h.

References symbols().

◆ subsections()

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

Definition at line 115 of file ModuleDebugStream.cpp.

References llvm::make_range().

Referenced by getSymbolArray().

◆ symbols()

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

Definition at line 104 of file ModuleDebugStream.cpp.

References llvm::make_range().

Referenced by signature().


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