Go to the documentation of this file.
25 "Invalid frame data record format!");
46 if (IncludeRelocPtr) {
51 std::vector<FrameData> SortedFrames(Frames.begin(), Frames.end());
53 return LHS.RvaStart <
RHS.RvaStart;
61 Frames.push_back(Frame);
This is an optimization pass for GlobalISel generic memory operations.
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
Provides write only access to a subclass of WritableBinaryStream.
static ErrorSuccess success()
Create a success value.
Data in the SUBSEC_FRAMEDATA subection.
uint64_t bytesRemaining() const
Error writeArray(ArrayRef< T > Array)
Writes an array of objects of type T to the underlying stream, as if by using memcpy.
Error commit(BinaryStreamWriter &Writer) const override
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...
Error initialize(BinaryStreamReader Reader)
uint32_t calculateSerializedSize() const override
Lightweight error class with error context and mandatory checking.
void sort(IteratorTy Start, IteratorTy End)
void addFrameData(const FrameData &Frame)
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
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.