Sets the KCFI type for the function.
Declared in <llvm/Transforms/Utils/ModuleUtils.h>
void
setKCFIType(
Module& M,
Function& F,
StringRef MangledType);
Used for compiler-generated functions that are indirectly called in instrumented code.
| Name | Description |
|---|---|
| M | Module containing F. |
| F | Function whose KCFI type is set. |
| MangledType | Mangled KCFI type string to attach. |