class DebugChecksumsSubsection

Declaration

class DebugChecksumsSubsection : public DebugSubsection { /* full declaration omitted */ };

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:77

Inherits from: DebugSubsection

Member Variables

private llvm::codeview::DebugStringTableSubsection& Strings
private DenseMap<uint32_t, uint32_t> OffsetMap
private uint32_t SerializedSize = 0
private llvm::BumpPtrAllocator Storage
private std::vector<FileChecksumEntry> Checksums

Inherited from DebugSubsection:

protected Kind

Method Overview

  • public DebugChecksumsSubsection(llvm::codeview::DebugStringTableSubsection & Strings)
  • public void addChecksum(llvm::StringRef FileName, llvm::codeview::FileChecksumKind Kind, ArrayRef<uint8_t> Bytes)
  • public uint32_t calculateSerializedSize() const
  • public static bool classof(const llvm::codeview::DebugSubsection * S)
  • public llvm::Error commit(llvm::BinaryStreamWriter & Writer) const
  • public uint32_t mapChecksumOffset(llvm::StringRef FileName) const

Inherited from DebugSubsection:

Methods

DebugChecksumsSubsection(
    llvm::codeview::DebugStringTableSubsection&
        Strings)

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:79

Parameters

llvm::codeview::DebugStringTableSubsection& Strings

void addChecksum(
    llvm::StringRef FileName,
    llvm::codeview::FileChecksumKind Kind,
    ArrayRef<uint8_t> Bytes)

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:85

Parameters

llvm::StringRef FileName
llvm::codeview::FileChecksumKind Kind
ArrayRef<uint8_t> Bytes

uint32_t calculateSerializedSize() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:88

static bool classof(
    const llvm::codeview::DebugSubsection* S)

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:81

Parameters

const llvm::codeview::DebugSubsection* S

llvm::Error commit(
    llvm::BinaryStreamWriter& Writer) const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:89

Parameters

llvm::BinaryStreamWriter& Writer

uint32_t mapChecksumOffset(
    llvm::StringRef FileName) const

Declared at: llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:90

Parameters

llvm::StringRef FileName