[msan] Add -msan-instrumentation-with-call-threshold.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 18 Apr 2014 12:17:20 +0000 (12:17 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 18 Apr 2014 12:17:20 +0000 (12:17 +0000)
commitf19e3273190e020c70a92724bd7a3af58c589cbf
treea0ea70f21b867fe95bb9cb5956f9a51fe17c1983
parent14def5573601bd07e8e9eea36fa41b77e1eac96e
[msan] Add -msan-instrumentation-with-call-threshold.

This flag replaces inline instrumentation for checks and origin stores with
calls into MSan runtime library. This is a workaround for PR17409.

Disabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206585 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp
test/Instrumentation/MemorySanitizer/instrumentation-with-call-threshold.ll [new file with mode: 0644]