24 : Strings(&Strings) {}
29 : Strings(&Strings), Checksums(&Checksums) {}
31 void 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();
70 void StringsAndChecksumsRef::initializeChecksums(
76 OwnedChecksums = std::make_shared<DebugChecksumsSubsectionRef>();
78 Checksums = OwnedChecksums.get();