From: Evgeniy Stepanov Date: Mon, 21 Apr 2014 15:04:05 +0000 (+0000) Subject: [msan] Enable out-of-line instrumentation for large functions by default. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7e0b3fbae921385e2868631e43f831b2b1841f43;p=oota-llvm.git [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 --- diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 0ac33840487..e1e5d83dde9 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -188,7 +188,7 @@ static cl::opt 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