[asan] add two new hidden compile-time flags for asan: asan-instrumentation-with...
authorKostya Serebryany <kcc@google.com>
Wed, 16 Apr 2014 12:12:19 +0000 (12:12 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 16 Apr 2014 12:12:19 +0000 (12:12 +0000)
commit8cc4741d85102a66ada1eb64f4e9fc8cef09f368
tree06438f0bf5de11cc8b462282e54f28066625a6fa
parent115d4f407b9e70ad3f32e62992f6688e09883f18
[asan] add two new hidden compile-time flags for asan: asan-instrumentation-with-call-threshold and asan-memory-access-callback-prefix. This is part of the workaround for PR17409 (instrument huge functions with callbacks instead of inlined code). These flags will also help us experiment with kasan (kernel-asan) and clang

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