[msan] Enable out-of-line instrumentation for large functions by default.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Apr 2014 15:04:05 +0000 (15:04 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Apr 2014 15:04:05 +0000 (15:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206759 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/MemorySanitizer.cpp

index 0ac33840487088b8fd40c5e7c6a0bfa33ca5802e..e1e5d83dde9ac5b7172921502d20b95ca8231adc 100644 (file)
@@ -188,7 +188,7 @@ static cl::opt<int> ClInstrumentationWithCallThreshold(
         "If the function being instrumented requires more than "
         "this number of checks and origin stores, use callbacks instead of "
         "inline checks (-1 means never use callbacks)."),
-    cl::Hidden, cl::init(-1));
+    cl::Hidden, cl::init(3500));
 
 // Experimental. Wraps all indirect calls in the instrumented code with
 // a call to the given function. This is needed to assist the dynamic