15 using namespace llvm::codeview;
16 using namespace llvm::msf;
22 : Kind(Kind), Data(Data) {}
ModuleSubstreamKind getSubstreamKind() const
uint32_t getLength() const
static Error initialize(msf::ReadableStreamRef Stream, ModuleSubstream &Info)
static ErrorSuccess success()
Create a success value.
uint32_t getRecordLength() const
Error readStreamRef(ReadableStreamRef &Ref)
msf::ReadableStreamRef getRecordData() const
Lightweight error class with error context and mandatory checking.
Error readObject(const T *&Dest)