summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/use-after-scope-nobug.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-nobug.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-nobug.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc b/compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc
index b7bf8ca92d2..cf471dc345f 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O1 -mllvm -asan-use-after-scope=1 %s -o %t && %run %t
+// RUN: %clangxx_asan -O1 -fsanitize-address-use-after-scope %s -o %t && %run %t
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud