LLVM: lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

13

14using namespace llvm;

16

20 return EC;

21 }

22

25 "Invalid frame data record format!");

26

29 return EC;

31}

32

37

40 if (IncludeRelocPtr)

43}

44

46 if (IncludeRelocPtr) {

48 return EC;

49 }

50

51 std::vector SortedFrames(Frames.begin(), Frames.end());

53 return LHS.RvaStart < RHS.RvaStart;

54 });

56 return EC;

58}

59

61 Frames.push_back(Frame);

62}

ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...

Provides read only access to a subclass of BinaryStream.

Error readObject(const T *&Dest)

Get a pointer to an object of type T from the underlying stream, as if by memcpy, and store the resul...

uint64_t bytesRemaining() const

Error readArray(ArrayRef< T > &Array, uint32_t NumElements)

Get a reference to a NumElements element array of objects of type T from the underlying stream as if ...

BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.

Provides write only access to a subclass of WritableBinaryStream.

Error writeArray(ArrayRef< T > Array)

Writes an array of objects of type T to the underlying stream, as if by using memcpy.

Error writeInteger(T Value)

Write the integer Value to the underlying stream in the specified endianness.

Lightweight error class with error context and mandatory checking.

static ErrorSuccess success()

Create a success value.

LLVM_ABI Error initialize(BinaryStreamReader Reader)

Definition DebugFrameDataSubsection.cpp:17

Error commit(BinaryStreamWriter &Writer) const override

Definition DebugFrameDataSubsection.cpp:45

uint32_t calculateSerializedSize() const override

Definition DebugFrameDataSubsection.cpp:38

void addFrameData(const FrameData &Frame)

Definition DebugFrameDataSubsection.cpp:60

This is an optimization pass for GlobalISel generic memory operations.

void sort(IteratorTy Start, IteratorTy End)

FunctionAddr VTableAddr Count

Error make_error(ArgTs &&... Args)

Make a Error instance representing failure using the given error info type.

Data in the SUBSEC_FRAMEDATA subection.