10 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H
11 #define LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H
32 class DbiStreamBuilder;
33 class InfoStreamBuilder;
34 class PublicsStreamBuilder;
35 class TpiStreamBuilder;
64 std::unique_ptr<msf::MSFBuilder> Msf;
65 std::unique_ptr<InfoStreamBuilder> Info;
66 std::unique_ptr<DbiStreamBuilder> Dbi;
67 std::unique_ptr<PublicsStreamBuilder> Publics;
68 std::unique_ptr<TpiStreamBuilder> Tpi;
69 std::unique_ptr<TpiStreamBuilder> Ipi;
PDBFileBuilder(BumpPtrAllocator &Allocator)
PDBStringTableBuilder & getStringTableBuilder()
Expected< uint32_t > getNamedStreamIndex(StringRef Name) const
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
DbiStreamBuilder & getDbiBuilder()
PDBFileBuilder & operator=(const PDBFileBuilder &)=delete
Tagged union holding either a T or a Error.
TpiStreamBuilder & getIpiBuilder()
Error commit(StringRef Filename)
Error initialize(uint32_t BlockSize)
Allocate memory in an ever growing pool, as if by bump-pointer.
PublicsStreamBuilder & getPublicsBuilder()
static const int BlockSize
InfoStreamBuilder & getInfoBuilder()
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
msf::MSFBuilder & getMsfBuilder()
Error addNamedStream(StringRef Name, uint32_t Size)
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
TpiStreamBuilder & getTpiBuilder()