9 #ifndef LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H 10 #define LLVM_DEBUGINFO_PDB_RAW_PDBFILEBUILDER_H 33 class DbiStreamBuilder;
34 class InfoStreamBuilder;
35 class GSIStreamBuilder;
36 class TpiStreamBuilder;
61 void addInjectedSource(
StringRef Name, std::unique_ptr<MemoryBuffer> Buffer);
64 struct InjectedSourceDescriptor {
68 std::string StreamName;
77 std::unique_ptr<MemoryBuffer> Content;
80 Error finalizeMsfLayout();
91 std::unique_ptr<msf::MSFBuilder> Msf;
92 std::unique_ptr<InfoStreamBuilder>
Info;
93 std::unique_ptr<DbiStreamBuilder> Dbi;
94 std::unique_ptr<GSIStreamBuilder> Gsi;
95 std::unique_ptr<TpiStreamBuilder> Tpi;
96 std::unique_ptr<TpiStreamBuilder> Ipi;
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
This represents the 'GUID' type from windows.h.
Tagged union holding either a T or a Error.
static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T, ArrayRef< StringLiteral > StandardNames)
Initialize the set of available library functions based on the specified target triple.
static void commitFpm(WritableBinaryStream &MsfBuffer, const MSFLayout &Layout, BumpPtrAllocator &Allocator)
Analysis containing CSE Info
Allocate memory in an ever growing pool, as if by bump-pointer.
static const int BlockSize
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.