LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h"
Public Member Functions | |
InfoStreamBuilder (msf::MSFBuilder &Msf, NamedStreamMap &NamedStreams) | |
InfoStreamBuilder (const InfoStreamBuilder &)=delete | |
InfoStreamBuilder & | operator= (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_t > | getSignature () const |
uint32_t | finalize () |
Error | finalizeMsfLayout () |
Error | commit (const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer) const |
Definition at line 31 of file InfoStreamBuilder.h.
InfoStreamBuilder::InfoStreamBuilder | ( | msf::MSFBuilder & | Msf, |
NamedStreamMap & | NamedStreams | ||
) |
Definition at line 26 of file InfoStreamBuilder.cpp.
References llvm::Intrinsic::memset.
|
delete |
void InfoStreamBuilder::addFeature | ( | PdbRaw_FeatureSig | Sig | ) |
Definition at line 35 of file InfoStreamBuilder.cpp.
Error InfoStreamBuilder::commit | ( | const msf::MSFLayout & | Layout, |
WritableBinaryStreamRef | Buffer | ||
) | const |
Definition at line 59 of file InfoStreamBuilder.cpp.
References assert(), llvm::pdb::NamedStreamMap::commit(), E, llvm::codeview::EC, llvm::msf::MSFBuilder::getAllocator(), H, llvm::Intrinsic::memset, llvm::pdb::StreamPDB, llvm::Error::success(), and llvm::pdb::InfoStreamHeader::Version.
uint32_t llvm::pdb::InfoStreamBuilder::finalize | ( | ) |
Error InfoStreamBuilder::finalizeMsfLayout | ( | ) |
Definition at line 50 of file InfoStreamBuilder.cpp.
References llvm::pdb::NamedStreamMap::calculateSerializedLength(), llvm::codeview::EC, llvm::msf::MSFBuilder::setStreamSize(), llvm::pdb::StreamPDB, and llvm::Error::success().
|
inline |
Definition at line 50 of file InfoStreamBuilder.h.
|
inline |
Definition at line 51 of file InfoStreamBuilder.h.
Definition at line 52 of file InfoStreamBuilder.h.
|
inline |
Definition at line 49 of file InfoStreamBuilder.h.
|
delete |
void InfoStreamBuilder::setAge | ( | uint32_t | A | ) |
Definition at line 43 of file InfoStreamBuilder.cpp.
void InfoStreamBuilder::setGuid | ( | codeview::GUID | G | ) |
Definition at line 47 of file InfoStreamBuilder.cpp.
References G.
void InfoStreamBuilder::setHashPDBContentsToGUID | ( | bool | B | ) |
Definition at line 39 of file InfoStreamBuilder.cpp.
References B.
void InfoStreamBuilder::setSignature | ( | uint32_t | S | ) |
Definition at line 45 of file InfoStreamBuilder.cpp.
void InfoStreamBuilder::setVersion | ( | PdbRaw_ImplVer | V | ) |
Definition at line 33 of file InfoStreamBuilder.cpp.