Skip to content

Commit 3939f54

Browse files
committed
[msan] Enable out-of-line instrumentation for large functions by default.
llvm-svn: 206759
1 parent 62774f3 commit 3939f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static cl::opt<int> ClInstrumentationWithCallThreshold(
188188
"If the function being instrumented requires more than "
189189
"this number of checks and origin stores, use callbacks instead of "
190190
"inline checks (-1 means never use callbacks)."),
191-
cl::Hidden, cl::init(-1));
191+
cl::Hidden, cl::init(3500));
192192

193193
// Experimental. Wraps all indirect calls in the instrumented code with
194194
// a call to the given function. This is needed to assist the dynamic

0 commit comments

Comments
 (0)