summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-capture.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-chars.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-if.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-inlined.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-loop.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-nobug.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope-temp.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/use-after-scope.cc2
11 files changed, 11 insertions, 11 deletions
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc b/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
index 926cf135b21..07aab672eec 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-capture.cc
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -std=c++11 -O1 -mllvm -asan-use-after-scope=1 %s -o %t && \
+// RUN: %clangxx_asan -std=c++11 -O1 -fsanitize-address-use-after-scope %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
#include <functional>
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-chars.cc b/compiler-rt/test/asan/TestCases/use-after-scope-chars.cc
index cc983a7cbe3..51fc5fa3874 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-chars.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-chars.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
// XFAIL: *
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cc b/compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cc
index 4b16df7273d..8cdfa6a1cd4 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.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
#include <stdio.h>
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-if.cc b/compiler-rt/test/asan/TestCases/use-after-scope-if.cc
index 8779161ee4f..8180077a0cc 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-if.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-if.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;
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;
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc b/compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc
index 6d8e8887064..6ad9bf3260c 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.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
//
// FIXME: @llvm.lifetime.* are not emitted for x.
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cc b/compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cc
index a9ea4505199..cd71a5046cd 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.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
//
// FIXME: Compiler removes for-loop but keeps x variable. For unknown reason
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-loop.cc b/compiler-rt/test/asan/TestCases/use-after-scope-loop.cc
index dc96239e855..d99761bc7a8 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-loop.cc
+++ b/compiler-rt/test/asan/TestCases/use-after-scope-loop.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[3];
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>
diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-temp.cc b/compiler-rt/test/asan/TestCases/use-after-scope-temp.cc
index b238d8547c6..3736f914d07 100644
--- a/compiler-rt/test/asan/TestCases/use-after-scope-temp.cc
+++ b/compiler-rt/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.
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