summaryrefslogtreecommitdiff
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-05 16:58:09 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-05 16:58:09 +0000
commite4b95f3807d8d9b63a2168fab6be47e97b42c3b1 (patch)
tree43cad98e9d149174a303f0de615da7a4da3435f9 /debuginfo-tests
parent502894e4bfe8a3a585813748a6e9a3f8c2b59941 (diff)
Temporarily pin tests to DWARF v2 until a more recent version of LLDB
is available on green dragon.
Diffstat (limited to 'debuginfo-tests')
-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 b919a291eba..99a53ef318e 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 -g -fsanitize=address
+// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -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 a2df7545722..91edc636546 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 -g -fsanitize=address
+// RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -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 18acebb0e6d..30fdfe2cd09 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 -g
+// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
// RUN: %test_debuginfo %s %t.out
-// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
+// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -gdwarf-2
// RUN: %test_debuginfo %s %t.out
//
// PR34513
diff --git a/debuginfo-tests/safestack.c b/debuginfo-tests/safestack.c
index 01c5f7ede92..c72a5ebd83a 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 -g -fsanitize=safe-stack
+// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -gdwarf-2 -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 372139c59b0..526a048ce42 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 -g
+// RUN: %clang %target_itanium_abi_host_triple %s -O -o %t.out -gdwarf-2
// RUN: %test_debuginfo %s %t.out
void __attribute__((noinline, optnone)) bar(int *test) {}