From 7e0b3fbae921385e2868631e43f831b2b1841f43 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Mon, 21 Apr 2014 15:04:05 +0000 Subject: [PATCH] [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 --- lib/Transforms/Instrumentation/MemorySanitizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1