9#ifndef LLVM_DEBUGINFO_CODEVIEW_STRINGSANDCHECKSUMS_H
10#define LLVM_DEBUGINFO_CODEVIEW_STRINGSANDCHECKSUMS_H
18class DebugChecksumsSubsection;
19class DebugChecksumsSubsectionRef;
20class DebugStringTableSubsection;
21class DebugStringTableSubsectionRef;
44 if (Strings && Checksums)
47 initializeChecksums(R);
76 std::shared_ptr<DebugStringTableSubsectionRef> OwnedStrings;
77 std::shared_ptr<DebugChecksumsSubsectionRef> OwnedChecksums;
85 using StringsPtr = std::shared_ptr<DebugStringTableSubsection>;
Represents a read-only view of a CodeView string table.
void setStrings(const DebugStringTableSubsectionRef &Strings)
void setChecksums(const DebugChecksumsSubsectionRef &CS)
const DebugStringTableSubsectionRef & strings() const
bool hasChecksums() const
void initialize(T &&FragmentRange)
const DebugChecksumsSubsectionRef & checksums() const
std::shared_ptr< DebugStringTableSubsection > StringsPtr
void setStrings(const StringsPtr &SP)
bool hasChecksums() const
std::shared_ptr< DebugChecksumsSubsection > ChecksumsPtr
const StringsPtr & strings() const
void setChecksums(const ChecksumsPtr &CP)
const ChecksumsPtr & checksums() const
StringsAndChecksums()=default
This is an optimization pass for GlobalISel generic memory operations.