LLVM 22.0.0git
|
#include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h"
Public Member Functions | |
DebugChecksumsSubsection (DebugStringTableSubsection &Strings) | |
void | addChecksum (StringRef FileName, FileChecksumKind Kind, ArrayRef< uint8_t > Bytes) |
uint32_t | calculateSerializedSize () const override |
Error | commit (BinaryStreamWriter &Writer) const override |
uint32_t | mapChecksumOffset (StringRef FileName) const |
Public Member Functions inherited from llvm::codeview::DebugSubsection | |
DebugSubsection (DebugSubsectionKind Kind) | |
virtual | ~DebugSubsection () |
DebugSubsectionKind | kind () const |
Static Public Member Functions | |
static bool | classof (const DebugSubsection *S) |
Static Public Member Functions inherited from llvm::codeview::DebugSubsection | |
static bool | classof (const DebugSubsection *S) |
Additional Inherited Members | |
Protected Attributes inherited from llvm::codeview::DebugSubsection | |
DebugSubsectionKind | Kind |
Definition at line 78 of file DebugChecksumsSubsection.h.
|
explicit |
Definition at line 63 of file DebugChecksumsSubsection.cpp.
References llvm::codeview::DebugSubsection::DebugSubsection(), and llvm::codeview::FileChecksums.
void DebugChecksumsSubsection::addChecksum | ( | StringRef | FileName, |
FileChecksumKind | Kind, | ||
ArrayRef< uint8_t > | Bytes ) |
Definition at line 67 of file DebugChecksumsSubsection.cpp.
References llvm::alignTo(), llvm::ArrayRef(), assert(), llvm::codeview::Copy, llvm::ArrayRef< T >::data(), llvm::ArrayRef< T >::empty(), llvm::codeview::FileChecksumEntry::FileNameOffset, llvm::codeview::DebugSubsection::Kind, and llvm::ArrayRef< T >::size().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 90 of file DebugChecksumsSubsection.cpp.
|
inlinestatic |
Definition at line 82 of file DebugChecksumsSubsection.h.
References llvm::codeview::DebugSubsection::DebugSubsection(), llvm::codeview::FileChecksums, and llvm::codeview::DebugSubsection::kind().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 94 of file DebugChecksumsSubsection.cpp.
References FileChecksumEntryHeader::ChecksumKind, llvm::codeview::EC, llvm::BinaryStreamWriter::padToAlignment(), llvm::Error::success(), llvm::BinaryStreamWriter::writeArray(), and llvm::BinaryStreamWriter::writeObject().
Definition at line 110 of file DebugChecksumsSubsection.cpp.
References assert(), and llvm::Offset.