LLVM  8.0.1
Public Member Functions | List of all members
llvm::pdb::InfoStreamBuilder Class Reference

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

Public Member Functions

 InfoStreamBuilder (msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams)
 
 InfoStreamBuilder (const InfoStreamBuilder &)=delete
 
InfoStreamBuilderoperator= (const InfoStreamBuilder &)=delete
 
void setVersion (PdbRaw_ImplVer V)
 
void addFeature (PdbRaw_FeatureSig Sig)
 
void setHashPDBContentsToGUID (bool B)
 
void setSignature (uint32_t S)
 
void setAge (uint32_t A)
 
void setGuid (codeview::GUID G)
 
bool hashPDBContentsToGUID () const
 
uint32_t getAge () const
 
codeview::GUID getGuid () const
 
Optional< uint32_tgetSignature () const
 
uint32_t finalize ()
 
Error finalizeMsfLayout ()
 
Error commit (const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer) const
 

Detailed Description

Definition at line 31 of file InfoStreamBuilder.h.

Constructor & Destructor Documentation

◆ InfoStreamBuilder() [1/2]

InfoStreamBuilder::InfoStreamBuilder ( msf::MSFBuilder Msf,
NamedStreamMap NamedStreams 
)

Definition at line 26 of file InfoStreamBuilder.cpp.

References llvm::Intrinsic::memset.

◆ InfoStreamBuilder() [2/2]

llvm::pdb::InfoStreamBuilder::InfoStreamBuilder ( const InfoStreamBuilder )
delete

Member Function Documentation

◆ addFeature()

void InfoStreamBuilder::addFeature ( PdbRaw_FeatureSig  Sig)

Definition at line 35 of file InfoStreamBuilder.cpp.

◆ commit()

Error InfoStreamBuilder::commit ( const msf::MSFLayout Layout,
WritableBinaryStreamRef  Buffer 
) const

◆ finalize()

uint32_t llvm::pdb::InfoStreamBuilder::finalize ( )

◆ finalizeMsfLayout()

Error InfoStreamBuilder::finalizeMsfLayout ( )

◆ getAge()

uint32_t llvm::pdb::InfoStreamBuilder::getAge ( ) const
inline

Definition at line 50 of file InfoStreamBuilder.h.

◆ getGuid()

codeview::GUID llvm::pdb::InfoStreamBuilder::getGuid ( ) const
inline

Definition at line 51 of file InfoStreamBuilder.h.

◆ getSignature()

Optional<uint32_t> llvm::pdb::InfoStreamBuilder::getSignature ( ) const
inline

Definition at line 52 of file InfoStreamBuilder.h.

References Features, and finalize.

◆ hashPDBContentsToGUID()

bool llvm::pdb::InfoStreamBuilder::hashPDBContentsToGUID ( ) const
inline

Definition at line 49 of file InfoStreamBuilder.h.

◆ operator=()

InfoStreamBuilder& llvm::pdb::InfoStreamBuilder::operator= ( const InfoStreamBuilder )
delete

◆ setAge()

void InfoStreamBuilder::setAge ( uint32_t  A)

Definition at line 43 of file InfoStreamBuilder.cpp.

◆ setGuid()

void InfoStreamBuilder::setGuid ( codeview::GUID  G)

Definition at line 47 of file InfoStreamBuilder.cpp.

References G.

◆ setHashPDBContentsToGUID()

void InfoStreamBuilder::setHashPDBContentsToGUID ( bool  B)

Definition at line 39 of file InfoStreamBuilder.cpp.

References B.

◆ setSignature()

void InfoStreamBuilder::setSignature ( uint32_t  S)

Definition at line 45 of file InfoStreamBuilder.cpp.

◆ setVersion()

void InfoStreamBuilder::setVersion ( PdbRaw_ImplVer  V)

Definition at line 33 of file InfoStreamBuilder.cpp.


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