[llvm] r206759 - [msan] Enable out-of-line instrumentation for large functions by default.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Apr 21 08:04:05 PDT 2014
Author: eugenis
Date: Mon Apr 21 10:04:05 2014
New Revision: 206759
URL: http://llvm.org/viewvc/llvm-project?rev=206759&view=rev
Log:
[msan] Enable out-of-line instrumentation for large functions by default.
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=206759&r1=206758&r2=206759&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Mon Apr 21 10:04:05 2014
@@ -188,7 +188,7 @@ static cl::opt<int> ClInstrumentationWit
"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
More information about the llvm-commits
mailing list