1 //===- InstrumentationBindings.h - instrumentation bindings -----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines C bindings for the Transforms/Instrumentation component.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_BINDINGS_GO_LLVM_INSTRUMENTATIONBINDINGS_H
15 #define LLVM_BINDINGS_GO_LLVM_INSTRUMENTATIONBINDINGS_H
17 #include "llvm-c/Core.h"
23 // FIXME: These bindings shouldn't be Go-specific and should eventually move to
24 // a (somewhat) less stable collection of C APIs for use in creating bindings of
25 // LLVM in other languages.
27 void LLVMAddAddressSanitizerFunctionPass(LLVMPassManagerRef PM);
28 void LLVMAddAddressSanitizerModulePass(LLVMPassManagerRef PM);
29 void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM);
30 void LLVMAddMemorySanitizerPass(LLVMPassManagerRef PM);
31 void LLVMAddDataFlowSanitizerPass(LLVMPassManagerRef PM, int ABIListFilesNum,
32 const char **ABIListFiles);