summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debuginfo-tests/asan-blocks.c2
-rw-r--r--debuginfo-tests/asan.c2
-rw-r--r--debuginfo-tests/nrvo-string.cpp4
-rw-r--r--debuginfo-tests/safestack.c2
-rw-r--r--debuginfo-tests/stack-var.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/debuginfo-tests/asan-blocks.c b/debuginfo-tests/asan-blocks.c
index 99a53ef318e..b919a291eba 100644
--- a/debuginfo-tests/asan-blocks.c
+++ b/debuginfo-tests/asan-blocks.c
@@ -1,4 +1,4 @@
-// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -fsanitize=address
+// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -g -fsanitize=address
// RUN: %test_debuginfo %s %t.out
// FIXME: Remove system-darwin when we build BlocksRuntime everywhere.
// REQUIRES: not_asan, system-darwin
diff --git a/debuginfo-tests/asan.c b/debuginfo-tests/asan.c
index 91edc636546..a2df7545722 100644
--- a/debuginfo-tests/asan.c
+++ b/debuginfo-tests/asan.c
@@ -1,4 +1,4 @@
-// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -fsanitize=address
+// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -g -fsanitize=address
// RUN: %test_debuginfo %s %t.out
// REQUIRES: not_asan
// Zorg configures the ASAN stage2 bots to not build the asan
diff --git a/debuginfo-tests/nrvo-string.cpp b/debuginfo-tests/nrvo-string.cpp
index 30fdfe2cd09..18acebb0e6d 100644
--- a/debuginfo-tests/nrvo-string.cpp
+++ b/debuginfo-tests/nrvo-string.cpp
@@ -1,9 +1,9 @@
// This ensures that DW_OP_deref is inserted when necessary, such as when NRVO
// of a string object occurs in C++.
//
-// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
+// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
// RUN: %test_debuginfo %s %t.out
-// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
+// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
// RUN: %test_debuginfo %s %t.out
//
// PR34513
diff --git a/debuginfo-tests/safestack.c b/debuginfo-tests/safestack.c
index c72a5ebd83a..01c5f7ede92 100644
--- a/debuginfo-tests/safestack.c
+++ b/debuginfo-tests/safestack.c
@@ -1,4 +1,4 @@
-// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -fsanitize=safe-stack
+// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -g -fsanitize=safe-stack
// RUN: %test_debuginfo %s %t.out
// REQUIRES: not_asan
// Zorg configures the ASAN stage2 bots to not build the
diff --git a/debuginfo-tests/stack-var.c b/debuginfo-tests/stack-var.c
index 526a048ce42..372139c59b0 100644
--- a/debuginfo-tests/stack-var.c
+++ b/debuginfo-tests/stack-var.c
@@ -1,4 +1,4 @@
-// RUN: %clang %target_itanium_abi_host_triple %s -O -o %t.out -gdwarf-2
+// RUN: %clang %target_itanium_abi_host_triple %s -O -o %t.out -g
// RUN: %test_debuginfo %s %t.out
void __attribute__((noinline, optnone)) bar(int *test) {}
OpenPOWER on IntegriCloud