LLVM: include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H

10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGFRAMEDATASUBSECTION_H

11

19

20namespace llvm {

23

26public:

32

35

38

40

41private:

44};

45

47public:

50 IncludeRelocPtr(IncludeRelocPtr) {}

54

55 uint32_t calculateSerializedSize() const override;

57

58 void addFrameData(const FrameData &Frame);

60

61private:

62 bool IncludeRelocPtr = false;

63 std::vector Frames;

64};

65}

66}

67

68#endif

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.

FixedStreamArrayIterator< T > Iterator

static bool classof(const DebugSubsection *S)

Definition DebugFrameDataSubsection.h:29

const support::ulittle32_t * getRelocPtr() const

Definition DebugFrameDataSubsection.h:39

LLVM_ABI Error initialize(BinaryStreamReader Reader)

DebugFrameDataSubsectionRef()

Definition DebugFrameDataSubsection.h:27

FixedStreamArray< FrameData >::Iterator begin() const

Definition DebugFrameDataSubsection.h:36

FixedStreamArray< FrameData >::Iterator end() const

Definition DebugFrameDataSubsection.h:37

DebugFrameDataSubsection(bool IncludeRelocPtr)

Definition DebugFrameDataSubsection.h:48

void setFrames(ArrayRef< FrameData > Frames)

static bool classof(const DebugSubsection *S)

Definition DebugFrameDataSubsection.h:51

DebugSubsectionRef(DebugSubsectionKind Kind)

DebugSubsection(DebugSubsectionKind Kind)

DebugSubsectionKind kind() const

detail::packed_endian_specific_integral< uint32_t, llvm::endianness::little, unaligned > ulittle32_t

This is an optimization pass for GlobalISel generic memory operations.

Data in the SUBSEC_FRAMEDATA subection.