10 #ifndef LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H 11 #define LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H 26 class BinaryStreamWriter;
29 class DebugSubsectionRecordBuilder;
57 addDebugSubsection(std::shared_ptr<codeview::DebugSubsection> Subsection);
62 uint16_t getStreamIndex()
const;
72 uint32_t calculateSerializedLength()
const;
79 Error finalizeMsfLayout();
85 uint32_t calculateC13DebugInfoSize()
const;
92 std::string ModuleName;
93 std::string ObjFileName;
95 std::vector<ArrayRef<uint8_t>>
Symbols;
97 std::vector<std::unique_ptr<codeview::DebugSubsectionRecordBuilder>>
107 #endif // LLVM_DEBUGINFO_PDB_RAW_DBIMODULEDESCRIPTORBUILDER_H
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false Value Value const Twine & Name
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
ArrayRef< std::string > source_files() const
StringRef getObjFileName() const
Provides write only access to a subclass of WritableBinaryStream.
CHAIN = SC CHAIN, Imm128 - System call.
unsigned getModuleIndex() const
StringRef getModuleName() const
uint32_t getNextSymbolOffset() const
Return the offset within the module symbol stream of the next symbol record passed to addSymbol...
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.