Remove the now dead VarArgsIncompatible variable.
[oota-llvm.git] / include / llvm / Transforms / Instrumentation.h
index baa6364f5090e45f8ae210408b8a04c4e7609c39..4b0c448acfceb209cbd425190559f1d93a71d4cc 100644 (file)
@@ -17,6 +17,7 @@
 namespace llvm {
 
 class ModulePass;
+class FunctionPass;
 
 // Insert edge profiling instrumentation
 ModulePass *createEdgeProfilerPass();
@@ -34,6 +35,15 @@ ModulePass *createGCOVProfilerPass(bool EmitNotes = true, bool EmitData = true,
 
 // Insert AddressSanitizer (address sanity checking) instrumentation
 ModulePass *createAddressSanitizerPass();
+// Insert ThreadSanitizer (race detection) instrumentation
+FunctionPass *createThreadSanitizerPass();
+
+
+// BoundsChecking - This pass instruments the code to perform run-time bounds
+// checking on loads, stores, and other memory intrinsics.
+// Penalty is the maximum run-time that is acceptable for the user.
+//
+FunctionPass *createBoundsCheckingPass(unsigned Penalty = 5);
 
 } // End llvm namespace