9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
26class BinaryStreamReader;
27class BinaryStreamWriter;
31class DebugStringTableSubsection;
74 FileChecksumArray Checksums;
98 std::vector<FileChecksumEntry> Checksums;
This file defines the BumpPtrAllocator interface.
Lightweight arrays that are backed by an arbitrary BinaryStream.
This file defines the DenseMap class.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Provides read only access to a subclass of BinaryStream.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
Provides write only access to a subclass of WritableBinaryStream.
Allocate memory in an ever growing pool, as if by bump-pointer.
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
VarStreamArray represents an array of variable length records backed by a stream.
VarStreamArrayIterator< codeview::FileChecksumEntry, VarStreamArrayExtractor< codeview::FileChecksumEntry > > Iterator
Iterator begin(bool *HadError=nullptr) const
static bool classof(const DebugSubsectionRef *S)
Error initialize(BinaryStreamReader Reader)
DebugChecksumsSubsectionRef()
const FileChecksumArray & getArray() const
Error commit(BinaryStreamWriter &Writer) const override
uint32_t mapChecksumOffset(StringRef FileName) const
void addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef< uint8_t > Bytes)
static bool classof(const DebugSubsection *S)
uint32_t calculateSerializedSize() const override
Represents a read-write view of a CodeView string table.
DebugSubsectionKind kind() const
DebugSubsectionKind kind() const
This is an optimization pass for GlobalISel generic memory operations.
ArrayRef< uint8_t > Checksum