20 using namespace llvm::codeview;
26 : Strings(&Strings) {}
31 : Strings(&Strings), Checksums(&Checksums) {}
33 void StringsAndChecksumsRef::initializeStrings(
36 assert(!Strings &&
"Found a string table even though we already have one!");
38 OwnedStrings = llvm::make_unique<DebugStringTableSubsectionRef>();
40 Strings = OwnedStrings.get();
45 OwnedChecksums = llvm::make_unique<DebugChecksumsSubsectionRef>();
47 Checksums = OwnedChecksums.get();
50 void StringsAndChecksumsRef::initializeChecksums(
56 OwnedChecksums = llvm::make_unique<DebugChecksumsSubsectionRef>();
58 Checksums = OwnedChecksums.get();
BinaryStreamRef getRecordData() const
void setChecksums(const DebugChecksumsSubsectionRef &CS)
DebugSubsectionKind kind() const
void consumeError(Error Err)
Consume a Error without doing anything.
Represents a read-only view of a CodeView string table.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())