Go to the documentation of this file.
38 PublicsStream::PublicsStream(std::unique_ptr<MappedBlockStream> Stream)
63 "Publics Stream does not contain a header.");
68 "Publics Stream does not contain a header.");
71 if (
auto E = PublicsTable.
read(Reader))
76 if (
auto EC = Reader.
readArray(AddressMap, NumAddressMapEntries))
79 "Could not read an address map."));
85 "Could not read a thunk map."));
92 "Could not read a section map."));
97 "Corrupted publics stream.");
This is an optimization pass for GlobalISel generic memory operations.
static ErrorSuccess success()
Create a success value.
uint64_t bytesRemaining() const
uint16_t getThunkTableSection() const
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
Provides read only access to a subclass of BinaryStream.
compiles ldr LCPI1_0 ldr ldr mov lsr tst moveq r1 ldr LCPI1_1 and r0 bx lr It would be better to do something like to fold the shift into the conditional move
Error joinErrors(Error E1, Error E2)
Concatenate errors.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
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...
uint32_t getThunkTableOffset() const
Lightweight error class with error context and mandatory checking.
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 ...
Error read(BinaryStreamReader &Reader)
uint32_t getSymHash() const