LLVM 20.0.0git
|
#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 |
std::optional< uint32_t > | getSignature () const |
uint32_t | finalize () |
Error | finalizeMsfLayout () |
Error | commit (const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer) const |
Definition at line 27 of file InfoStreamBuilder.h.
InfoStreamBuilder::InfoStreamBuilder | ( | msf::MSFBuilder & | Msf, |
NamedStreamMap & | NamedStreams | ||
) |
Definition at line 24 of file InfoStreamBuilder.cpp.
|
delete |
void InfoStreamBuilder::addFeature | ( | PdbRaw_FeatureSig | Sig | ) |
Definition at line 33 of file InfoStreamBuilder.cpp.
Error InfoStreamBuilder::commit | ( | const msf::MSFLayout & | Layout, |
WritableBinaryStreamRef | Buffer | ||
) | const |
Definition at line 57 of file InfoStreamBuilder.cpp.
References assert(), llvm::BinaryStreamWriter::bytesRemaining(), llvm::pdb::NamedStreamMap::commit(), llvm::msf::WritableMappedBlockStream::createIndexedStream(), llvm::codeview::EC, llvm::msf::MSFBuilder::getAllocator(), H, llvm::pdb::StreamPDB, llvm::Error::success(), llvm::BinaryStreamWriter::writeEnum(), llvm::BinaryStreamWriter::writeInteger(), and llvm::BinaryStreamWriter::writeObject().
uint32_t llvm::pdb::InfoStreamBuilder::finalize | ( | ) |
Error InfoStreamBuilder::finalizeMsfLayout | ( | ) |
Definition at line 48 of file InfoStreamBuilder.cpp.
References llvm::pdb::NamedStreamMap::calculateSerializedLength(), llvm::codeview::EC, llvm::Length, llvm::msf::MSFBuilder::setStreamSize(), llvm::pdb::StreamPDB, and llvm::Error::success().
|
inline |
Definition at line 46 of file InfoStreamBuilder.h.
|
inline |
Definition at line 47 of file InfoStreamBuilder.h.
|
inline |
Definition at line 48 of file InfoStreamBuilder.h.
|
inline |
Definition at line 45 of file InfoStreamBuilder.h.
|
delete |
void InfoStreamBuilder::setAge | ( | uint32_t | A | ) |
Definition at line 41 of file InfoStreamBuilder.cpp.
References A.
void InfoStreamBuilder::setGuid | ( | codeview::GUID | G | ) |
Definition at line 45 of file InfoStreamBuilder.cpp.
References G.
void InfoStreamBuilder::setHashPDBContentsToGUID | ( | bool | B | ) |
Definition at line 37 of file InfoStreamBuilder.cpp.
References B.
void InfoStreamBuilder::setSignature | ( | uint32_t | S | ) |
Definition at line 43 of file InfoStreamBuilder.cpp.
void InfoStreamBuilder::setVersion | ( | PdbRaw_ImplVer | V | ) |
Definition at line 31 of file InfoStreamBuilder.cpp.