[debuginfo-tests] r220152 - New round of fixes for "Always compile debuginfo-tests for the host triple"
Filipe Cabecinhas
me at filcab.net
Sat Oct 18 16:47:59 PDT 2014
Author: filcab
Date: Sat Oct 18 18:47:59 2014
New Revision: 220152
URL: http://llvm.org/viewvc/llvm-project?rev=220152&view=rev
Log:
New round of fixes for "Always compile debuginfo-tests for the host triple"
clang tests were breaking, at least when compiling clang only, from an
installed llvm. Make the lit.cfg script deal with the case when we don't
have a host_triple available.
Modified:
debuginfo-tests/trunk/aggregate-indirect-arg.cpp
debuginfo-tests/trunk/block_var.m
debuginfo-tests/trunk/blocks.m
debuginfo-tests/trunk/ctor.cpp
debuginfo-tests/trunk/dbg-arg.c
debuginfo-tests/trunk/foreach.m
debuginfo-tests/trunk/forward-declare-class.cpp
debuginfo-tests/trunk/nested-struct.cpp
debuginfo-tests/trunk/sret.cpp
debuginfo-tests/trunk/static-member-2.cpp
debuginfo-tests/trunk/static-member.cpp
Modified: debuginfo-tests/trunk/aggregate-indirect-arg.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/aggregate-indirect-arg.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/aggregate-indirect-arg.cpp (original)
+++ debuginfo-tests/trunk/aggregate-indirect-arg.cpp Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx %target_itanium_abi_host_triple %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
// Radar 8945514
// DEBUGGER: break 22
Modified: debuginfo-tests/trunk/block_var.m
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/block_var.m?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/block_var.m (original)
+++ debuginfo-tests/trunk/block_var.m Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clang --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clang --target=%itanium_abi_host_triple %t.o -o %t.out -framework Foundation
+// RUN: %clang %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clang %target_itanium_abi_host_triple %t.o -o %t.out -framework Foundation
// RUN: %test_debuginfo %s %t.out
// REQUIRES: system-darwin
Modified: debuginfo-tests/trunk/blocks.m
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/blocks.m?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/blocks.m (original)
+++ debuginfo-tests/trunk/blocks.m Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clang --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clang --target=%itanium_abi_host_triple %t.o -o %t.out -framework Foundation
+// RUN: %clang %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clang %target_itanium_abi_host_triple %t.o -o %t.out -framework Foundation
// RUN: %test_debuginfo %s %t.out
// REQUIRES: system-darwin
Modified: debuginfo-tests/trunk/ctor.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/ctor.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/ctor.cpp (original)
+++ debuginfo-tests/trunk/ctor.cpp Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx %target_itanium_abi_host_triple %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
Modified: debuginfo-tests/trunk/dbg-arg.c
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/dbg-arg.c?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/dbg-arg.c (original)
+++ debuginfo-tests/trunk/dbg-arg.c Sat Oct 18 18:47:59 2014
@@ -1,6 +1,6 @@
// This test case checks debug info during register moves for an argument.
-// RUN: %clang --target=%itanium_abi_host_triple -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o
-// RUN: %clang --target=%itanium_abi_host_triple -arch x86_64 %t.o -o %t.out
+// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o
+// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
//
// Radar 8412415
Modified: debuginfo-tests/trunk/foreach.m
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/foreach.m?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/foreach.m (original)
+++ debuginfo-tests/trunk/foreach.m Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clang --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clang --target=%itanium_abi_host_triple %t.o -o %t.out -framework Foundation
+// RUN: %clang %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clang %target_itanium_abi_host_triple %t.o -o %t.out -framework Foundation
// RUN: %test_debuginfo %s %t.out
//
// REQUIRES: system-darwin
Modified: debuginfo-tests/trunk/forward-declare-class.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/forward-declare-class.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/forward-declare-class.cpp (original)
+++ debuginfo-tests/trunk/forward-declare-class.cpp Sat Oct 18 18:47:59 2014
@@ -1,4 +1,4 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
// RUN: %test_debuginfo %s %t.o
// Radar 9168773
Modified: debuginfo-tests/trunk/nested-struct.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/nested-struct.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/nested-struct.cpp (original)
+++ debuginfo-tests/trunk/nested-struct.cpp Sat Oct 18 18:47:59 2014
@@ -1,4 +1,4 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
// RUN: %test_debuginfo %s %t.o
// Radar 9440721
// If debug info for my_number() is emitted outside function foo's scope
Modified: debuginfo-tests/trunk/sret.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/sret.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/sret.cpp (original)
+++ debuginfo-tests/trunk/sret.cpp Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
-// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx %target_itanium_abi_host_triple %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
// Radar 8775834
// DEBUGGER: break 62
Modified: debuginfo-tests/trunk/static-member-2.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/static-member-2.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/static-member-2.cpp (original)
+++ debuginfo-tests/trunk/static-member-2.cpp Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -o %t -c
-// RUN: %clangxx --target=%itanium_abi_host_triple %t -o %t.out
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -o %t -c
+// RUN: %clangxx %target_itanium_abi_host_triple %t -o %t.out
// RUN: %test_debuginfo %s %t.out
// FIXME: LLDB finds the wrong symbol for "C". rdar://problem/14933867
Modified: debuginfo-tests/trunk/static-member.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/static-member.cpp?rev=220152&r1=220151&r2=220152&view=diff
==============================================================================
--- debuginfo-tests/trunk/static-member.cpp (original)
+++ debuginfo-tests/trunk/static-member.cpp Sat Oct 18 18:47:59 2014
@@ -1,5 +1,5 @@
-// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -o %t -c
-// RUN: %clangxx --target=%itanium_abi_host_triple %t -o %t.out
+// RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -o %t -c
+// RUN: %clangxx %target_itanium_abi_host_triple %t -o %t.out
// RUN: %test_debuginfo %s %t.out
// DEBUGGER: delete breakpoints
More information about the llvm-commits
mailing list