9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H
10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H
20class BinaryStreamReader;
21class BinaryStreamWriter;
49 IncludeRelocPtr(IncludeRelocPtr) {}
61 bool IncludeRelocPtr =
false;
62 std::vector<FrameData> Frames;
Lightweight arrays that are backed by an arbitrary BinaryStream.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Provides read only access to a subclass of BinaryStream.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
Provides write only access to a subclass of WritableBinaryStream.
Lightweight error class with error context and mandatory checking.
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
static bool classof(const DebugSubsection *S)
const support::ulittle32_t * getRelocPtr() const
Error initialize(BinaryStreamReader Reader)
DebugFrameDataSubsectionRef()
FixedStreamArray< FrameData >::Iterator begin() const
FixedStreamArray< FrameData >::Iterator end() const
DebugFrameDataSubsection(bool IncludeRelocPtr)
void setFrames(ArrayRef< FrameData > Frames)
Error commit(BinaryStreamWriter &Writer) const override
uint32_t calculateSerializedSize() const override
static bool classof(const DebugSubsection *S)
void addFrameData(const FrameData &Frame)
DebugSubsectionKind kind() const
This is an optimization pass for GlobalISel generic memory operations.
Data in the SUBSEC_FRAMEDATA subection.