10 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
11 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
24 class BinaryStreamWriter;
28 class DebugSubsection;
71 std::shared_ptr<DebugSubsection> Subsection;
103 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONRECORD_H
BinaryStreamRef getRecordData() const
uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew=0)
Returns the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Alig...
DebugSubsectionKind kind() const
Error commit(BinaryStreamWriter &Writer) const
Provides write only access to a subclass of WritableBinaryStream.
uint32_t getRecordLength() const
static ErrorSuccess success()
Create a success value.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
static Error initialize(BinaryStreamRef Stream, DebugSubsectionRecord &Info, CodeViewContainer Container)
Lightweight error class with error context and mandatory checking.
uint32_t calculateSerializedLength()
DebugSubsectionRecordBuilder(std::shared_ptr< DebugSubsection > Subsection, CodeViewContainer Container)