10 #ifndef LLVM_DEBUGINFO_CODEVIEW_RECORDITERATOR_H
11 #define LLVM_DEBUGINFO_CODEVIEW_RECORDITERATOR_H
53 template <
typename Kind>
57 using namespace codeview;
58 const RecordPrefix *
Prefix =
nullptr;
65 return make_error<CodeViewError>(cv_error_code::corrupt_record);
83 #endif // LLVM_DEBUGINFO_CODEVIEW_RECORDITERATOR_H
ArrayRef< uint8_t > data() const
void setOffset(uint32_t Off)
Optional< uint32_t > hash() const
void setHash(uint32_t Value)
size_t size() const
size - Get the array size.
The instances of the Type class are immutable: once they are created, they are never changed...
Error readBytes(ArrayRef< uint8_t > &Buffer, uint32_t Size)
Optional< uint32_t > Hash
uint32_t getOffset() const
static ErrorSuccess success()
Create a success value.
ArrayRef< uint8_t > content() const
CVRecord(Kind K, ArrayRef< uint8_t > Data)
ArrayRef< uint8_t > RecordData
ArrayRef< T > drop_front(size_t N=1) const
Drop the first N elements of the array.
LLVM Value Representation.
Lightweight error class with error context and mandatory checking.
Error readObject(const T *&Dest)