Compute KCFI type ID from mangled type name. The algorithm can be xxHash64 or FNV‐1a.

Synopsis

Declared in <llvm/Transforms/Utils/KCFIHash.h>

uint32_t
getKCFITypeID(
    StringRef MangledTypeName,
    KCFIHashAlgorithm Algorithm);

Return Value

The 32‐bit KCFI type ID for MangledTypeName.

Parameters

Name

Description

MangledTypeName

Mangled function type name to hash.

Algorithm

Hash algorithm used to compute the type ID.

Created with MrDocs