summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/use-after-scope.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
commit0ba360bd68be149e556fa68bfbb82be7487c0b34 (patch)
treeb37e0a30ac99573970e322c93fcccf493b921745 /compiler-rt/test/asan/TestCases/use-after-scope.cc
parent35e0204eecb944ff879c752d8b75f8122de621ea (diff)
downloadbcm5719-llvm-0ba360bd68be149e556fa68bfbb82be7487c0b34.tar.gz
bcm5719-llvm-0ba360bd68be149e556fa68bfbb82be7487c0b34.zip
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
Diffstat (limited to 'compiler-rt/test/asan/TestCases/use-after-scope.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope.cc b/compiler-rt/test/asan/TestCases/use-after-scope.cc
index e1f7302f9e3..1aa6758229d 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope.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
int *p = 0;
OpenPOWER on IntegriCloud