Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope
authorVitaly Buka <vitalybuka@google.com>
Thu, 14 Jul 2016 21:18:06 +0000 (21:18 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 14 Jul 2016 21:18:06 +0000 (21:18 +0000)
commit0ba360bd68be149e556fa68bfbb82be7487c0b34
treeb37e0a30ac99573970e322c93fcccf493b921745
parent35e0204eecb944ff879c752d8b75f8122de621ea
Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope

Summary:
When test was added we had no -fsanitize-address-use-after-scope in clang
so we had to use -mllvm -asan-use-after-scope=1.

Reviewers: eugenis

Subscribers: kubabrecka

Differential Revision: https://reviews.llvm.org/D22382

llvm-svn: 275475
compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
compiler-rt/test/asan/TestCases/use-after-scope-chars.cc
compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cc
compiler-rt/test/asan/TestCases/use-after-scope-if.cc
compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc
compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc
compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cc
compiler-rt/test/asan/TestCases/use-after-scope-loop.cc
compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc
compiler-rt/test/asan/TestCases/use-after-scope-temp.cc
compiler-rt/test/asan/TestCases/use-after-scope.cc