diff options
author | Vitaly Buka <vitalybuka@google.com> | 2016-07-14 21:18:06 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2016-07-14 21:18:06 +0000 |
commit | 6aa450c291eca353c1f8ba888436070969e54ff6 (patch) | |
tree | afa38f8c7fe67077df3fed50ec5bc6baecfa72c7 /test/asan/TestCases/use-after-scope-temp.cc | |
parent | 0528f1ef0dca42935c00f53ea96ed532cda3434a (diff) | |
download | compiler-rt-6aa450c291eca353c1f8ba888436070969e54ff6.tar.gz |
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
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/use-after-scope-temp.cc')
-rw-r--r-- | test/asan/TestCases/use-after-scope-temp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/use-after-scope-temp.cc b/test/asan/TestCases/use-after-scope-temp.cc index b238d8547..3736f914d 100644 --- a/test/asan/TestCases/use-after-scope-temp.cc +++ b/test/asan/TestCases/use-after-scope-temp.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_asan -O1 -mllvm -asan-use-after-scope=1 %s -o %t && \ +// RUN: %clangxx_asan -O1 -fsanitize-address-use-after-scope %s -o %t && \ // RUN: not %run %t 2>&1 | FileCheck %s // // Lifetime for temporaries is not emitted yet. |