[asan] enable asan only for the functions that have Attribute::AddressSafety
authorKostya Serebryany <kcc@google.com>
Tue, 24 Jan 2012 19:34:43 +0000 (19:34 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 24 Jan 2012 19:34:43 +0000 (19:34 +0000)
commit0307b9a88574d7e54459181afaa656ac92971847
tree880ec66a87f2777c0f0a9771c83c934388598512
parent88a54de799240d5de2e79dfff4671ad5653e7ceb
[asan] enable asan only for the functions that have Attribute::AddressSafety

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/bug_11395.ll
test/Instrumentation/AddressSanitizer/instrument_load_then_store.ll
test/Instrumentation/AddressSanitizer/test64.ll