LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h"
Public Member Functions | |
GSIStreamBuilder (msf::MSFBuilder &Msf) | |
~GSIStreamBuilder () | |
GSIStreamBuilder (const GSIStreamBuilder &)=delete | |
GSIStreamBuilder & | operator= (const GSIStreamBuilder &)=delete |
Error | finalizeMsfLayout () |
Error | commit (const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer) |
uint32_t | getPublicsStreamIndex () const |
uint32_t | getGlobalsStreamIndex () const |
uint32_t | getRecordStreamIdx () const |
void | addPublicSymbol (const codeview::PublicSym32 &Pub) |
void | addGlobalSymbol (const codeview::ProcRefSym &Sym) |
void | addGlobalSymbol (const codeview::DataSym &Sym) |
void | addGlobalSymbol (const codeview::ConstantSym &Sym) |
void | addGlobalSymbol (const codeview::CVSymbol &Sym) |
Definition at line 42 of file GSIStreamBuilder.h.
|
explicit |
Definition at line 186 of file GSIStreamBuilder.cpp.
GSIStreamBuilder::~GSIStreamBuilder | ( | ) |
Definition at line 190 of file GSIStreamBuilder.cpp.
References Size.
|
delete |
void GSIStreamBuilder::addGlobalSymbol | ( | const codeview::ProcRefSym & | Sym | ) |
Definition at line 292 of file GSIStreamBuilder.cpp.
void GSIStreamBuilder::addGlobalSymbol | ( | const codeview::DataSym & | Sym | ) |
Definition at line 296 of file GSIStreamBuilder.cpp.
void GSIStreamBuilder::addGlobalSymbol | ( | const codeview::ConstantSym & | Sym | ) |
Definition at line 300 of file GSIStreamBuilder.cpp.
void GSIStreamBuilder::addGlobalSymbol | ( | const codeview::CVSymbol & | Sym | ) |
Definition at line 304 of file GSIStreamBuilder.cpp.
void GSIStreamBuilder::addPublicSymbol | ( | const codeview::PublicSym32 & | Pub | ) |
Definition at line 288 of file GSIStreamBuilder.cpp.
Error GSIStreamBuilder::commit | ( | const msf::MSFLayout & | Layout, |
WritableBinaryStreamRef | Buffer | ||
) |
Definition at line 364 of file GSIStreamBuilder.cpp.
References llvm::codeview::EC, llvm::msf::MSFBuilder::getAllocator(), getGlobalsStreamIndex(), getPublicsStreamIndex(), getRecordStreamIdx(), and llvm::Error::success().
Error GSIStreamBuilder::finalizeMsfLayout | ( | ) |
Definition at line 206 of file GSIStreamBuilder.cpp.
References llvm::msf::MSFBuilder::addStream(), llvm::Error::success(), and llvm::Expected< T >::takeError().
uint32_t GSIStreamBuilder::getGlobalsStreamIndex | ( | ) | const |
Definition at line 284 of file GSIStreamBuilder.cpp.
Referenced by commit().
uint32_t GSIStreamBuilder::getPublicsStreamIndex | ( | ) | const |
Definition at line 280 of file GSIStreamBuilder.cpp.
Referenced by commit().
|
inline |
Definition at line 57 of file GSIStreamBuilder.h.
References llvm::pdb::kInvalidStreamIndex.
Referenced by commit().
|
delete |