Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
10 #define LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
26 class BinaryStreamReader;
27 class BinaryStreamWriter;
31 class DebugStringTableSubsection;
74 FileChecksumArray Checksums;
98 std::vector<FileChecksumEntry> Checksums;
105 #endif // LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H
This is an optimization pass for GlobalISel generic memory operations.
Provides write only access to a subclass of WritableBinaryStream.
Represents a read-write view of a CodeView string table.
DebugChecksumsSubsection(DebugStringTableSubsection &Strings)
DebugChecksumsSubsectionRef()
static bool classof(const DebugSubsectionRef *S)
VarStreamArrayIterator< codeview::FileChecksumEntry, VarStreamArrayExtractor< codeview::FileChecksumEntry > > Iterator
Provides read only access to a subclass of BinaryStream.
uint32_t mapChecksumOffset(StringRef FileName) const
Allocate memory in an ever growing pool, as if by bump-pointer.
VarStreamArray represents an array of variable length records backed by a stream.
StringRef - Represent a constant reference to a string, i.e.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Iterator begin(bool *HadError=nullptr) const
Lightweight error class with error context and mandatory checking.
ArrayRef< uint8_t > Checksum
void addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef< uint8_t > Bytes)
Error commit(BinaryStreamWriter &Writer) const override
uint32_t calculateSerializedSize() const override
static bool classof(const DebugSubsection *S)
const FileChecksumArray & getArray() const
Error initialize(BinaryStreamReader Reader)
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.