24 : Strings(&Strings) {}
29 : Strings(&Strings), Checksums(&Checksums) {}
31void StringsAndChecksumsRef::initializeStrings(
34 assert(!Strings &&
"Found a string table even though we already have one!");
36 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>();
38 Strings = OwnedStrings.get();
52 OwnedChecksums.reset();
58 OwnedStrings = std::make_shared<DebugStringTableSubsectionRef>();
59 *OwnedStrings = StringsRef;
60 Strings = OwnedStrings.get();
65 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
67 Checksums = OwnedChecksums.get();
70void StringsAndChecksumsRef::initializeChecksums(
76 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
78 Checksums = OwnedChecksums.get();
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Represents a read-only view of a CodeView string table.
BinaryStreamRef getRecordData() const
DebugSubsectionKind kind() const
void setStrings(const DebugStringTableSubsectionRef &Strings)
void setChecksums(const DebugChecksumsSubsectionRef &CS)
This is an optimization pass for GlobalISel generic memory operations.
void consumeError(Error Err)
Consume a Error without doing anything.