9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H
10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H
21class BinaryStreamReader;
22class BinaryStreamWriter;
50 IncludeRelocPtr(IncludeRelocPtr) {}
52 return S->
kind() == DebugSubsectionKind::FrameData;
55 uint32_t calculateSerializedSize()
const override;
58 void addFrameData(
const FrameData &Frame);
62 bool IncludeRelocPtr =
false;
63 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
LLVM_ABI Error initialize(BinaryStreamReader Reader)
DebugFrameDataSubsectionRef()
FixedStreamArray< FrameData >::Iterator begin() const
FixedStreamArray< FrameData >::Iterator end() const
DebugFrameDataSubsection(bool IncludeRelocPtr)
void setFrames(ArrayRef< FrameData > Frames)
static bool classof(const DebugSubsection *S)
DebugSubsectionKind kind() const
This is an optimization pass for GlobalISel generic memory operations.
Data in the SUBSEC_FRAMEDATA subection.