22 return make_error<CodeViewError>(
24 "Cross Scope Exports section is an invalid size!");
46 for (
const auto &M : Mappings) {
Provides read only access to a subclass of BinaryStream.
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 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.
Error initialize(BinaryStreamReader Reader)
void addMapping(uint32_t Local, uint32_t Global)
uint32_t calculateSerializedSize() const override
Error commit(BinaryStreamWriter &Writer) const override
This is an optimization pass for GlobalISel generic memory operations.
@ Global
Append to llvm.global_dtors.