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 = std::make_shared<DebugStringTableSubsectionRef>();
40 Strings = OwnedStrings.get();
54 OwnedChecksums.reset();
60 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>();
61 *OwnedStrings = StringsRef;
62 Strings = OwnedStrings.get();
67 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
69 Checksums = OwnedChecksums.get();
72 void StringsAndChecksumsRef::initializeChecksums(
78 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
80 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())