10 #ifndef LLVM_DEBUGINFO_CODEVIEW_STRINGSANDCHECKSUMS_H
11 #define LLVM_DEBUGINFO_CODEVIEW_STRINGSANDCHECKSUMS_H
38 if (Strings && Checksums)
41 initializeChecksums(R);
70 std::unique_ptr<DebugStringTableSubsectionRef> OwnedStrings;
71 std::unique_ptr<DebugChecksumsSubsectionRef> OwnedChecksums;
79 using StringsPtr = std::shared_ptr<DebugStringTableSubsection>;
102 #endif // LLVM_DEBUGINFO_CODEVIEW_STRINGSANDCHECKSUMS_H
std::shared_ptr< DebugChecksumsSubsection > ChecksumsPtr
const DebugChecksumsSubsectionRef & checksums() const
StringsAndChecksums()=default
void setChecksums(const DebugChecksumsSubsectionRef &CS)
const DebugStringTableSubsectionRef & strings() const
void setChecksums(const ChecksumsPtr &CP)
void setStrings(const StringsPtr &SP)
std::shared_ptr< DebugStringTableSubsection > StringsPtr
Represents a read-only view of a CodeView string table.
const StringsPtr & strings() const
const ChecksumsPtr & checksums() const
bool hasChecksums() const
void initialize(T &&FragmentRange)
bool hasChecksums() const