LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::pdb::TpiStreamBuilder Class Reference

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

Public Member Functions

 TpiStreamBuilder (msf::MSFBuilder &Msf, uint32_t StreamIdx)
 
 ~TpiStreamBuilder ()
 
 TpiStreamBuilder (const TpiStreamBuilder &)=delete
 
TpiStreamBuilderoperator= (const TpiStreamBuilder &)=delete
 
void setVersionHeader (PdbRaw_TpiVer Version)
 
void addTypeRecord (ArrayRef< uint8_t > Type, Optional< uint32_t > Hash)
 
Error finalizeMsfLayout ()
 
uint32_t getRecordCount () const
 
Error commit (const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer)
 
uint32_t calculateSerializedLength ()
 

Detailed Description

Definition at line 48 of file TpiStreamBuilder.h.

Constructor & Destructor Documentation

◆ TpiStreamBuilder() [1/2]

TpiStreamBuilder::TpiStreamBuilder ( msf::MSFBuilder Msf,
uint32_t  StreamIdx 
)
explicit

Definition at line 36 of file TpiStreamBuilder.cpp.

References ~TpiStreamBuilder().

◆ ~TpiStreamBuilder()

TpiStreamBuilder::~TpiStreamBuilder ( )
default

Referenced by TpiStreamBuilder().

◆ TpiStreamBuilder() [2/2]

llvm::pdb::TpiStreamBuilder::TpiStreamBuilder ( const TpiStreamBuilder )
delete

Member Function Documentation

◆ addTypeRecord()

void TpiStreamBuilder::addTypeRecord ( ArrayRef< uint8_t >  Type,
Optional< uint32_t Hash 
)

◆ calculateSerializedLength()

uint32_t TpiStreamBuilder::calculateSerializedLength ( )

Definition at line 101 of file TpiStreamBuilder.cpp.

References assert().

Referenced by finalizeMsfLayout().

◆ commit()

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

◆ finalizeMsfLayout()

Error TpiStreamBuilder::finalizeMsfLayout ( )

◆ getRecordCount()

uint32_t llvm::pdb::TpiStreamBuilder::getRecordCount ( ) const
inline

◆ operator=()

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

◆ setVersionHeader()

void TpiStreamBuilder::setVersionHeader ( PdbRaw_TpiVer  Version)

Definition at line 42 of file TpiStreamBuilder.cpp.

References llvm::IndexedInstrProf::Version.


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