LLVM 20.0.0git
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/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_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]

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

◆ getHashForUdt() [2/2]

static uint32_t getHashForUdt ( const TagRecord Rec,
ArrayRef< uint8_t >  FullRecord 
)
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 20 of file TpiHashing.cpp.

References Name.

Referenced by getHashForUdt().