10 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H 11 #define LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H 34 class DbiStreamBuilder;
35 class InfoStreamBuilder;
36 class GSIStreamBuilder;
37 class TpiStreamBuilder;
60 void addInjectedSource(
StringRef Name, std::unique_ptr<MemoryBuffer> Buffer);
63 struct InjectedSourceDescriptor {
67 std::string StreamName;
76 std::unique_ptr<MemoryBuffer> Content;
79 Error finalizeMsfLayout();
90 std::unique_ptr<msf::MSFBuilder> Msf;
91 std::unique_ptr<InfoStreamBuilder> Info;
92 std::unique_ptr<DbiStreamBuilder> Dbi;
93 std::unique_ptr<GSIStreamBuilder> Gsi;
94 std::unique_ptr<TpiStreamBuilder> Tpi;
95 std::unique_ptr<TpiStreamBuilder> Ipi;
Compute iterated dominance frontiers using a linear time algorithm.
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
Tagged union holding either a T or a Error.
static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, BumpPtrAllocator &Allocator)
Allocate memory in an ever growing pool, as if by bump-pointer.
static const int BlockSize
static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T, ArrayRef< StringRef > StandardNames)
Initialize the set of available library functions based on the specified target triple.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
A BinaryStream which can be read from as well as written to.