diff options
Diffstat (limited to 'include/llvm/Transforms/Utils/ModuleUtils.h')
| -rw-r--r-- | include/llvm/Transforms/Utils/ModuleUtils.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/include/llvm/Transforms/Utils/ModuleUtils.h b/include/llvm/Transforms/Utils/ModuleUtils.h index 27508799f8e0..f5e843e2e8b5 100644 --- a/include/llvm/Transforms/Utils/ModuleUtils.h +++ b/include/llvm/Transforms/Utils/ModuleUtils.h @@ -46,6 +46,9 @@ void appendToGlobalDtors(Module &M, Function *F, int Priority,  // getOrInsertFunction returns a bitcast.  Function *checkSanitizerInterfaceFunction(Constant *FuncOrBitcast); +Function *declareSanitizerInitFunction(Module &M, StringRef InitName, +                                       ArrayRef<Type *> InitArgTypes); +  /// \brief Creates sanitizer constructor function, and calls sanitizer's init  /// function from it.  /// \return Returns pair of pointers to constructor, and init functions | 
