LLVM
8.0.1
|
#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 76 of file DebugChecksumsSubsection.h.
|
explicit |
Definition at line 64 of file DebugChecksumsSubsection.cpp.
void DebugChecksumsSubsection::addChecksum | ( | StringRef | FileName, |
FileChecksumKind | Kind, | ||
ArrayRef< uint8_t > | Bytes | ||
) |
Definition at line 68 of file DebugChecksumsSubsection.cpp.
References llvm::alignTo(), llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold >::Allocate(), assert(), llvm::codeview::FileChecksumEntry::Checksum, llvm::codeview::Copy, llvm::ArrayRef< T >::data(), llvm::ArrayRef< T >::empty(), llvm::codeview::FileChecksumEntry::FileNameOffset, llvm::codeview::DebugStringTableSubsection::insert(), llvm::codeview::FileChecksumEntry::Kind, llvm::codeview::DebugSubsection::Kind, llvm::makeArrayRef(), llvm::Intrinsic::memcpy, and llvm::ArrayRef< T >::size().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 91 of file DebugChecksumsSubsection.cpp.
|
inlinestatic |
Definition at line 80 of file DebugChecksumsSubsection.h.
References llvm::codeview::FileChecksums, llvm::codeview::FileChecksumEntry::Kind, and llvm::codeview::DebugSubsection::kind().
|
overridevirtual |
Implements llvm::codeview::DebugSubsection.
Definition at line 95 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 111 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().