21 return make_error<CodeViewError>(
23 "Cross Scope Exports section is an invalid size!");
26 return Reader.
readArray(References, Size);
36 Mappings[Local] = Global;
45 for (
const auto &M : Mappings) {
This class represents lattice values for constants.
Error initialize(BinaryStreamReader Reader)
uint32_t calculateSerializedSize() const override
Provides write only access to a subclass of WritableBinaryStream.
Error commit(BinaryStreamWriter &Writer) const override
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
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 ...
void addMapping(uint32_t Local, uint32_t Global)