24 "Invalid frame data record format!");
45 if (IncludeRelocPtr) {
50 std::vector<FrameData> SortedFrames(Frames.begin(), Frames.end());
51 std::sort(SortedFrames.begin(), SortedFrames.end(),
61 Frames.push_back(Frame);
This class represents lattice values for constants.
Data in the SUBSEC_FRAMEDATA subection.
uint32_t calculateSerializedSize() const override
support::ulittle32_t RvaStart
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...
void addFrameData(const FrameData &Frame)
Error commit(BinaryStreamWriter &Writer) const override
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
Error writeArray(ArrayRef< T > Array)
Writes an array of objects of type T to the underlying stream, as if by using memcpy.
Error initialize(BinaryStreamReader Reader)
Provides write only access to a subclass of WritableBinaryStream.
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
void sort(IteratorTy Start, IteratorTy End)
static ErrorSuccess success()
Create a success value.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
uint32_t bytesRemaining() const
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
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 ...