summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/use-after-scope-temp.cc
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-07-14 21:18:06 +0000
committerVitaly Buka <vitalybuka@google.com>2016-07-14 21:18:06 +0000
commit6aa450c291eca353c1f8ba888436070969e54ff6 (patch)
treeafa38f8c7fe67077df3fed50ec5bc6baecfa72c7 /test/asan/TestCases/use-after-scope-temp.cc
parent0528f1ef0dca42935c00f53ea96ed532cda3434a (diff)
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.cc2
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.