24 for (
const auto &
Record : Records) {
32 Records.push_back(Symbol);
33 Length += Symbol.length();
Provides read only access to a subclass of BinaryStream.
uint64_t getLength() 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 ...
Provides write only access to a subclass of WritableBinaryStream.
Error writeBytes(ArrayRef< uint8_t > Buffer)
Write the bytes specified in Buffer to the underlying stream.
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Error initialize(BinaryStreamReader Reader)
void addSymbol(CVSymbol Symbol)
Error commit(BinaryStreamWriter &Writer) const override
uint32_t calculateSerializedSize() const override
This is an optimization pass for GlobalISel generic memory operations.