LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/TpiHashing.h"
#include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/Support/JamCRC.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 28 of file TpiHashing.cpp.
References llvm::codeview::ForwardReference, 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 44 of file TpiHashing.cpp.
References llvm::codeview::CVRecord< Kind >::data(), llvm::codeview::TypeDeserializer::deserializeAs(), E, and getHashForUdt().
Definition at line 79 of file TpiHashing.cpp.
References llvm::codeview::TypeDeserializer::deserializeAs(), E, llvm::pdb::hashStringV1(), and llvm::support::endian::write32le().
|
static |
Definition at line 53 of file TpiHashing.cpp.
References llvm::codeview::CVRecord< Kind >::data(), llvm::codeview::TypeDeserializer::deserializeAs(), E, llvm::codeview::ForwardReference, getHashForUdt(), llvm::pdb::hashStringV1(), and llvm::codeview::Scoped.
Definition at line 21 of file TpiHashing.cpp.
References llvm::StringRef::endswith().
Referenced by getHashForUdt().