LLVM  8.0.1
Functions
TpiHashing.cpp File Reference
#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"
Include dependency graph for TpiHashing.cpp:

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_tgetHashForUdt (const CVType &Rec)
 
template<typename T >
static Expected< TagRecordHashgetTagRecordHashForUdt (const CVType &Rec)
 
template<typename T >
static Expected< uint32_tgetSourceLineHash (const CVType &Rec)
 

Function Documentation

◆ getHashForUdt() [1/2]

static uint32_t getHashForUdt ( const TagRecord Rec,
ArrayRef< uint8_t >  FullRecord 
)
static

◆ getHashForUdt() [2/2]

template<typename T >
static Expected<uint32_t> getHashForUdt ( const CVType Rec)
static

◆ getSourceLineHash()

template<typename T >
static Expected<uint32_t> getSourceLineHash ( const CVType Rec)
static

◆ getTagRecordHashForUdt()

template<typename T >
static Expected<TagRecordHash> getTagRecordHashForUdt ( const CVType Rec)
static

◆ isAnonymous()

static bool isAnonymous ( StringRef  Name)
static

Definition at line 21 of file TpiHashing.cpp.

References llvm::StringRef::endswith().

Referenced by getHashForUdt().