class GSIStreamBuilder
Declaration
class GSIStreamBuilder { /* full declaration omitted */ };
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:46
Member Variables
- private uint32_t PublicsStreamIndex = kInvalidStreamIndex
- private uint32_t GlobalsStreamIndex = kInvalidStreamIndex
- private uint32_t RecordStreamIndex = kInvalidStreamIndex
- private msf::MSFBuilder& Msf
- private std::unique_ptr<GSIHashStreamBuilder> PSH
- private std::unique_ptr<GSIHashStreamBuilder> GSH
- private std::vector<BulkPublic> Publics
- private std::vector<codeview::CVSymbol> Globals
- private llvm::DenseSet<codeview::CVSymbol, SymbolDenseMapInfo> GlobalsSeen
Method Overview
- public GSIStreamBuilder(msf::MSFBuilder & Msf)
- public GSIStreamBuilder(const llvm::pdb::GSIStreamBuilder &)
- public void addGlobalSymbol(const codeview::DataSym & Sym)
- public void addGlobalSymbol(const codeview::CVSymbol & Sym)
- public void addGlobalSymbol(const codeview::ConstantSym & Sym)
- public void addGlobalSymbol(const codeview::ProcRefSym & Sym)
- public void addPublicSymbols(std::vector<BulkPublic> && PublicsIn)
- private uint32_t calculateGlobalsHashStreamSize() const
- private uint32_t calculatePublicsHashStreamSize() const
- public llvm::Error commit(const msf::MSFLayout & Layout, llvm::WritableBinaryStreamRef Buffer)
- private llvm::Error commitGlobalsHashStream(llvm::WritableBinaryStreamRef Stream)
- private llvm::Error commitPublicsHashStream(llvm::WritableBinaryStreamRef Stream)
- private llvm::Error commitSymbolRecordStream(llvm::WritableBinaryStreamRef Stream)
- private void finalizeGlobalBuckets(uint32_t RecordZeroOffset)
- public llvm::Error finalizeMsfLayout()
- private void finalizePublicBuckets()
- public uint32_t getGlobalsStreamIndex() const
- public uint32_t getPublicsStreamIndex() const
- public uint32_t getRecordStreamIndex() const
- private template <typename T>void serializeAndAddGlobal(const T & Symbol)
- public ~GSIStreamBuilder()
Methods
¶GSIStreamBuilder(msf::MSFBuilder& Msf)
GSIStreamBuilder(msf::MSFBuilder& Msf)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:49
Parameters
- msf::MSFBuilder& Msf
¶GSIStreamBuilder(
const llvm::pdb::GSIStreamBuilder&)
GSIStreamBuilder(
const llvm::pdb::GSIStreamBuilder&)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:52
Parameters
- const llvm::pdb::GSIStreamBuilder&
¶void addGlobalSymbol(const codeview::DataSym& Sym)
void addGlobalSymbol(const codeview::DataSym& Sym)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:67
Parameters
- const codeview::DataSym& Sym
¶void addGlobalSymbol(
const codeview::CVSymbol& Sym)
void addGlobalSymbol(
const codeview::CVSymbol& Sym)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:72
Parameters
- const codeview::CVSymbol& Sym
¶void addGlobalSymbol(
const codeview::ConstantSym& Sym)
void addGlobalSymbol(
const codeview::ConstantSym& Sym)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:68
Parameters
- const codeview::ConstantSym& Sym
¶void addGlobalSymbol(
const codeview::ProcRefSym& Sym)
void addGlobalSymbol(
const codeview::ProcRefSym& Sym)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:66
Parameters
- const codeview::ProcRefSym& Sym
¶void addPublicSymbols(
std::vector<BulkPublic>&& PublicsIn)
void addPublicSymbols(
std::vector<BulkPublic>&& PublicsIn)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:64
Parameters
- std::vector<BulkPublic>&& PublicsIn
¶uint32_t calculateGlobalsHashStreamSize() const
uint32_t calculateGlobalsHashStreamSize() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:81
¶uint32_t calculatePublicsHashStreamSize() const
uint32_t calculatePublicsHashStreamSize() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:80
¶llvm::Error commit(
const msf::MSFLayout& Layout,
llvm::WritableBinaryStreamRef Buffer)
llvm::Error commit(
const msf::MSFLayout& Layout,
llvm::WritableBinaryStreamRef Buffer)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:57
Parameters
- const msf::MSFLayout& Layout
- llvm::WritableBinaryStreamRef Buffer
¶llvm::Error commitGlobalsHashStream(
llvm::WritableBinaryStreamRef Stream)
llvm::Error commitGlobalsHashStream(
llvm::WritableBinaryStreamRef Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:84
Parameters
¶llvm::Error commitPublicsHashStream(
llvm::WritableBinaryStreamRef Stream)
llvm::Error commitPublicsHashStream(
llvm::WritableBinaryStreamRef Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:83
Parameters
¶llvm::Error commitSymbolRecordStream(
llvm::WritableBinaryStreamRef Stream)
llvm::Error commitSymbolRecordStream(
llvm::WritableBinaryStreamRef Stream)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:82
Parameters
¶void finalizeGlobalBuckets(
uint32_t RecordZeroOffset)
void finalizeGlobalBuckets(
uint32_t RecordZeroOffset)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:76
Parameters
- uint32_t RecordZeroOffset
¶llvm::Error finalizeMsfLayout()
llvm::Error finalizeMsfLayout()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:55
¶void finalizePublicBuckets()
void finalizePublicBuckets()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:75
¶uint32_t getGlobalsStreamIndex() const
uint32_t getGlobalsStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:60
¶uint32_t getPublicsStreamIndex() const
uint32_t getPublicsStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:59
¶uint32_t getRecordStreamIndex() const
uint32_t getRecordStreamIndex() const
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:61
¶template <typename T>
void serializeAndAddGlobal(const T& Symbol)
template <typename T>
void serializeAndAddGlobal(const T& Symbol)
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:78
Templates
- T
Parameters
- const T& Symbol
¶~GSIStreamBuilder()
~GSIStreamBuilder()
Declared at: llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h:50