Declare a sanitizer initialization function in module M.
Declared in <llvm/Transforms/Utils/ModuleUtils.h>
FunctionCallee
declareSanitizerInitFunction(
Module& M,
StringRef InitName,
ArrayRef<Type*> InitArgTypes,
bool Weak = false);
Callee for the declared sanitizer init function.
| Name | Description |
|---|---|
| M | Module in which to declare the init function. |
| InitName | Name of the sanitizer init function. |
| InitArgTypes | Argument types of the init function. |
| Weak | If true, declare the init function as a weak external symbol. |