[Codegen] Adjust saturation test. NFC.
[llvm-core.git] / bindings / go / llvm / InstrumentationBindings.h
blob143086c06274365450b935d7947b075d11a8b3ae
1 //===- InstrumentationBindings.h - instrumentation bindings -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines C bindings for the Transforms/Instrumentation component.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_BINDINGS_GO_LLVM_INSTRUMENTATIONBINDINGS_H
14 #define LLVM_BINDINGS_GO_LLVM_INSTRUMENTATIONBINDINGS_H
16 #include "llvm-c/Core.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 // FIXME: These bindings shouldn't be Go-specific and should eventually move to
23 // a (somewhat) less stable collection of C APIs for use in creating bindings of
24 // LLVM in other languages.
26 void LLVMAddAddressSanitizerFunctionPass(LLVMPassManagerRef PM);
27 void LLVMAddAddressSanitizerModulePass(LLVMPassManagerRef PM);
28 void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM);
29 void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM);
30 void LLVMAddDataFlowSanitizerPass(LLVMPassManagerRef PM, int ABIListFilesNum,
31 const char **ABIListFiles);
33 #ifdef __cplusplus
35 #endif
37 #endif