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(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
Represents a read-only view of a CodeView string table.
LLVM_ABI BinaryStreamRef getRecordData() const
LLVM_ABI DebugSubsectionKind kind() const
LLVM_ABI void setStrings(const DebugStringTableSubsectionRef &Strings)
LLVM_ABI StringsAndChecksumsRef()
LLVM_ABI void setChecksums(const DebugChecksumsSubsectionRef &CS)
LLVM_ABI void resetStrings()
LLVM_ABI void resetChecksums()
This is an optimization pass for GlobalISel generic memory operations.
void consumeError(Error Err)
Consume a Error without doing anything.