move the bounds checking pass to the instrumentation folder, where it belongs. I...
[oota-llvm.git] / include / llvm / Transforms / Instrumentation.h
index bbf3a69d246d79b086f7e01d5f9230825606dec3..4b0c448acfceb209cbd425190559f1d93a71d4cc 100644 (file)
@@ -38,6 +38,13 @@ 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
 
 #endif