summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-21 15:04:05 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-04-21 15:04:05 +0000
commit7e0b3fbae921385e2868631e43f831b2b1841f43 (patch)
tree9efda697586603e34b82fce6d0d19f736a23bb39 /lib/Transforms/Instrumentation
parent3c390e5184c97e5a244a81a65942c59de9041db6 (diff)
downloadllvm-7e0b3fbae921385e2868631e43f831b2b1841f43.tar.gz
llvm-7e0b3fbae921385e2868631e43f831b2b1841f43.tar.bz2
llvm-7e0b3fbae921385e2868631e43f831b2b1841f43.tar.xz
[msan] Enable out-of-line instrumentation for large functions by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/MemorySanitizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index 0ac3384048..e1e5d83dde 100644
--- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -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