25 : Strings(&Strings) {}
30 : Strings(&Strings), Checksums(&Checksums) {}
32 void StringsAndChecksumsRef::initializeStrings(
35 assert(!Strings &&
"Found a string table even though we already have one!");
37 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>();
39 Strings = OwnedStrings.get();
53 OwnedChecksums.reset();
59 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>();
60 *OwnedStrings = StringsRef;
61 Strings = OwnedStrings.get();
66 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
68 Checksums = OwnedChecksums.get();
71 void StringsAndChecksumsRef::initializeChecksums(
77 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
79 Checksums = OwnedChecksums.get();
This class represents lattice values for constants.
DebugSubsectionKind kind() const
BinaryStreamRef getRecordData() const
void setChecksums(const DebugChecksumsSubsectionRef &CS)
void consumeError(Error Err)
Consume a Error without doing anything.
Represents a read-only view of a CodeView string table.
void setStrings(const DebugStringTableSubsectionRef &Strings)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())