summaryrefslogtreecommitdiff
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-07 19:40:31 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-07 19:40:31 +0000
commit1d8799beb5e735bd883862527aeed35879ad9ae4 (patch)
tree446a1faf4ef3f5c7d7771c1e6d84109e3fe09956 /debuginfo-tests
parent0100c4397467bd4fba37eeccf8b5331965896342 (diff)
Revert "Temporarily pin tests to DWARF v2 until a more recent version of LLDB"
This reverts commit 319790. We worked around the bug in LLVM instead.
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 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) {}