summaryrefslogtreecommitdiffstats
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
commita0de3a8d0a27c7b94f91d4bf43e20c1166d4fdb9 (patch)
tree6f1ea3230e223264041456d5a18c091bed91ab7b
parent79990bd606c683caa12488573e0e0f71091cd485 (diff)
downloadbcm5719-llvm-a0de3a8d0a27c7b94f91d4bf43e20c1166d4fdb9.tar.gz
bcm5719-llvm-a0de3a8d0a27c7b94f91d4bf43e20c1166d4fdb9.zip
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. llvm-svn: 320076
-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