LLVM  4.0.0
Functions
TpiHashing.cpp File Reference
#include "llvm/DebugInfo/PDB/Raw/TpiHashing.h"
#include "llvm/DebugInfo/PDB/Raw/Hash.h"
#include "llvm/DebugInfo/PDB/Raw/RawError.h"
Include dependency graph for TpiHashing.cpp:

Go to the source code of this file.

Functions

template<typename T >
static bool isAnonymous (T &Rec)
 
template<typename T >
static uint32_t getTpiHash (T &Rec, ArrayRef< uint8_t > FullRecord)
 
template<typename T >
static uint32_t getSourceLineHash (T &Rec)
 

Function Documentation

template<typename T >
static uint32_t getSourceLineHash ( T Rec)
static

Definition at line 44 of file TpiHashing.cpp.

References llvm::pdb::hashStringV1(), and llvm::support::endian::write32le().

template<typename T >
static uint32_t getTpiHash ( T Rec,
ArrayRef< uint8_t >  FullRecord 
)
static
template<typename T >
static bool isAnonymous ( T Rec)
static

Definition at line 20 of file TpiHashing.cpp.

References llvm::StringRef::endswith().

Referenced by getTpiHash().