Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
10 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
23 class BinaryStreamWriter;
27 class DebugSubsection;
65 std::shared_ptr<DebugSubsection> Subsection;
95 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
uint64_t alignTo(uint64_t Size, Align A)
Returns a multiple of A needed to store Size bytes.
This is an optimization pass for GlobalISel generic memory operations.
Provides write only access to a subclass of WritableBinaryStream.
static ErrorSuccess success()
Create a success value.
static Error initialize(BinaryStreamRef Stream, DebugSubsectionRecord &Info)
DebugSubsectionRecordBuilder(std::shared_ptr< DebugSubsection > Subsection)
Analysis containing CSE Info
uint32_t getRecordLength() const
uint32_t calculateSerializedLength() const
Lightweight error class with error context and mandatory checking.
DebugSubsectionKind kind() const
Error commit(BinaryStreamWriter &Writer, CodeViewContainer Container) const
BinaryStreamRef getRecordData() const
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.