23 SymbolStream::SymbolStream(std::unique_ptr<MappedBlockStream> Stream)
24 : Stream(
std::move(Stream)) {}
31 if (
auto EC = Reader.
readArray(SymbolRecords, Stream->getLength()))
45 return *SymbolRecords.
at(Offset);
This class represents lattice values for constants.
iterator_range< codeview::CVSymbolArray::Iterator > getSymbols(bool *HadError) const
iterator_range< T > make_range(T x, T y)
Convenience function for iterating over sub-ranges.
static ErrorSuccess success()
Create a success value.
codeview::CVSymbol readRecord(uint32_t Offset) const
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...
Iterator begin(bool *HadError=nullptr) 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 ...