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 | 0ba360bd68be149e556fa68bfbb82be7487c0b34 (patch) | |
tree | b37e0a30ac99573970e322c93fcccf493b921745 /compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc | |
parent | 35e0204eecb944ff879c752d8b75f8122de621ea (diff) | |
download | bcm5719-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.cc | 2 |
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> |