Declare a sanitizer initialization function in module M.

Synopsis

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

FunctionCallee
declareSanitizerInitFunction(
    Module& M,
    StringRef InitName,
    ArrayRef<Type*> InitArgTypes,
    bool Weak = false);

Return Value

Callee for the declared sanitizer init function.

Parameters

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.

Created with MrDocs