LLVM  6.0.0svn
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
 
BinarySubstreamRef getSymbolsSubstream () const
 
BinarySubstreamRef getC11LinesSubstream () const
 
BinarySubstreamRef getC13LinesSubstream () const
 
BinarySubstreamRef getGlobalRefsSubstream () const
 
ModuleDebugStreamRefoperator= (ModuleDebugStreamRef &&Other)=default
 
iterator_range< DebugSubsectionIteratorsubsections () const
 
codeview::DebugSubsectionArray getSubsectionsArray () const
 
bool hasDebugSubsections () const
 
Error commit ()
 
Expected< codeview::DebugChecksumsSubsectionReffindChecksumsSubsection () const
 

Detailed Description

Definition at line 28 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 109 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 83 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getC13LinesSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getC13LinesSubstream ( ) const

Definition at line 87 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getGlobalRefsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getGlobalRefsSubstream ( ) const

Definition at line 91 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ getSubsectionsArray()

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

Definition at line 55 of file ModuleDebugStream.h.

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

◆ getSymbolArray()

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

◆ getSymbolsSubstream()

BinarySubstreamRef ModuleDebugStreamRef::getSymbolsSubstream ( ) const

Definition at line 79 of file ModuleDebugStream.cpp.

Referenced by getSymbolArray().

◆ hasDebugSubsections()

bool ModuleDebugStreamRef::hasDebugSubsections ( ) const

Definition at line 105 of file ModuleDebugStream.cpp.

Referenced by getSubsectionsArray().

◆ operator=()

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

Referenced by getSymbolArray().

◆ reload()

Error ModuleDebugStreamRef::reload ( )

◆ signature()

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

Definition at line 40 of file ModuleDebugStream.h.

References symbols().

◆ subsections()

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

Definition at line 101 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 96 of file ModuleDebugStream.cpp.

References llvm::make_range().

Referenced by signature().


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