summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc b/compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc
index 7146d900ce6..fc8c7f7bb87 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc
@@ -2,7 +2,7 @@
// happens. "always_inline" is not enough, as Clang doesn't emit
// llvm.lifetime intrinsics at -O0.
//
-// RUN: %clangxx_asan -O2 -mllvm -asan-use-after-scope=1 %s -o %t && \
+// RUN: %clangxx_asan -O2 -fsanitize-address-use-after-scope %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
int *arr;
OpenPOWER on IntegriCloud