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);

Parameters

Name

Description

MangledTypeName

Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.

Created with MrDocs