Go to the documentation of this file.
19 SymbolStream::SymbolStream(std::unique_ptr<MappedBlockStream> Stream)
27 if (
auto EC = Reader.
readArray(SymbolRecords, Stream->getLength()))
41 return *SymbolRecords.
at(Offset);
codeview::CVSymbol readRecord(uint32_t Offset) const
This is an optimization pass for GlobalISel generic memory operations.
iterator_range< T > make_range(T x, T y)
Convenience function for iterating over sub-ranges.
static ErrorSuccess success()
Create a success value.
Provides read only access to a subclass of BinaryStream.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
iterator_range< codeview::CVSymbolArray::Iterator > getSymbols(bool *HadError) const
Iterator begin(bool *HadError=nullptr) const
Lightweight error class with error context and mandatory checking.
A range adaptor for a pair of iterators.
Iterator at(uint32_t Offset) const
given an offset into the array's underlying stream, return an iterator to the record at that offset.
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 ...