LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/TpiHashing.h"
#include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/Support/CRC.h"
Go to the source code of this file.
Functions | |
static bool | isAnonymous (StringRef Name) |
static uint32_t | getHashForUdt (const TagRecord &Rec, ArrayRef< uint8_t > FullRecord) |
template<typename T > | |
static Expected< uint32_t > | getHashForUdt (const CVType &Rec) |
template<typename T > | |
static Expected< TagRecordHash > | getTagRecordHashForUdt (const CVType &Rec) |
template<typename T > | |
static Expected< uint32_t > | getSourceLineHash (const CVType &Rec) |
Definition at line 43 of file TpiHashing.cpp.
References llvm::codeview::CVRecord< Kind >::data(), llvm::codeview::TypeDeserializer::deserializeAs(), and getHashForUdt().
Definition at line 27 of file TpiHashing.cpp.
References llvm::codeview::TagRecord::getName(), llvm::codeview::TagRecord::getOptions(), llvm::codeview::TagRecord::getUniqueName(), llvm::pdb::hashBufferV8(), llvm::pdb::hashStringV1(), llvm::codeview::HasUniqueName, isAnonymous(), and llvm::codeview::Scoped.
Referenced by getHashForUdt(), and getTagRecordHashForUdt().
Definition at line 78 of file TpiHashing.cpp.
References llvm::codeview::TypeDeserializer::deserializeAs(), llvm::pdb::hashStringV1(), and llvm::support::endian::write32le().
|
static |
Definition at line 52 of file TpiHashing.cpp.
References llvm::codeview::CVRecord< Kind >::data(), llvm::codeview::TypeDeserializer::deserializeAs(), getHashForUdt(), llvm::pdb::hashStringV1(), and llvm::codeview::Scoped.