LLVM
15.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 |
![]() | |
DebugSubsection (DebugSubsectionKind Kind) | |
virtual | ~DebugSubsection () |
DebugSubsectionKind | kind () const |
Static Public Member Functions | |
static bool | classof (const DebugSubsection *S) |
![]() | |
static bool | classof (const DebugSubsection *S) |
Additional Inherited Members | |
![]() | |
DebugSubsectionKind | Kind |
Definition at line 77 of file DebugChecksumsSubsection.h.
|
explicit |
Definition at line 63 of file DebugChecksumsSubsection.cpp.
void DebugChecksumsSubsection::addChecksum | ( | StringRef | FileName, |
FileChecksumKind | Kind, | ||
ArrayRef< uint8_t > | Bytes | ||
) |
Definition at line 67 of file DebugChecksumsSubsection.cpp.
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 90 of file DebugChecksumsSubsection.cpp.
|
inlinestatic |
Definition at line 81 of file DebugChecksumsSubsection.h.
References llvm::codeview::FileChecksums, and S.
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 94 of file DebugChecksumsSubsection.cpp.
References FileChecksumEntryHeader::ChecksumKind, FileChecksumEntryHeader::ChecksumSize, llvm::codeview::EC, R600_InstFlag::FC, FileChecksumEntryHeader::FileNameOffset, llvm::makeArrayRef(), llvm::BinaryStreamWriter::padToAlignment(), llvm::Error::success(), llvm::BinaryStreamWriter::writeArray(), and llvm::BinaryStreamWriter::writeObject().
Definition at line 110 of file DebugChecksumsSubsection.cpp.
References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and llvm::codeview::DebugStringTableSubsection::getIdForString().
Referenced by llvm::codeview::DebugInlineeLinesSubsection::addExtraFile(), llvm::codeview::DebugInlineeLinesSubsection::addInlineSite(), and llvm::codeview::DebugLinesSubsection::createBlock().