10 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
11 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
30 class DebugStringTableSubsection;
73 FileChecksumArray Checksums;
97 std::vector<FileChecksumEntry> Checksums;
104 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
DebugChecksumsSubsection(DebugStringTableSubsection &Strings)
uint32_t mapChecksumOffset(StringRef FileName) const
void addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef< uint8_t > Bytes)
static bool classof(const DebugSubsection *S)
DebugSubsectionKind kind() const
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
DebugSubsectionKind kind() const
Error commit(BinaryStreamWriter &Writer) const override
Error initialize(BinaryStreamReader Reader)
VarStreamArrayIterator< codeview::FileChecksumEntry, VarStreamArrayExtractor< codeview::FileChecksumEntry > > Iterator
Allocate memory in an ever growing pool, as if by bump-pointer.
Provides write only access to a subclass of WritableBinaryStream.
Represents a read-write view of a CodeView string table.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
VarStreamArray represents an array of variable length records backed by a stream. ...
DebugChecksumsSubsectionRef()
static bool classof(const DebugSubsectionRef *S)
uint32_t calculateSerializedSize() const override
const FileChecksumArray & getArray() const
ArrayRef< uint8_t > Checksum
Lightweight error class with error context and mandatory checking.
Iterator begin(bool *HadError=nullptr) const
Provides read only access to a subclass of BinaryStream.
StringRef - Represent a constant reference to a string, i.e.