New round of fixes for "Always compile debuginfo-tests for the host triple"
authorFilipe Cabecinhas <me@filcab.net>
Sat, 18 Oct 2014 23:47:59 +0000 (23:47 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Sat, 18 Oct 2014 23:47:59 +0000 (23:47 +0000)
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.

llvm-svn: 220152

debuginfo-tests/aggregate-indirect-arg.cpp
debuginfo-tests/block_var.m
debuginfo-tests/blocks.m
debuginfo-tests/ctor.cpp
debuginfo-tests/dbg-arg.c
debuginfo-tests/foreach.m
debuginfo-tests/forward-declare-class.cpp
debuginfo-tests/nested-struct.cpp
debuginfo-tests/sret.cpp
debuginfo-tests/static-member-2.cpp
debuginfo-tests/static-member.cpp

index aa5ef8b..86c7caf 100644 (file)
@@ -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
index 548cdd0..7ec786f 100644 (file)
@@ -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
index 302005d..8e5a212 100644 (file)
@@ -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
index 8a858e4..92cdbcd 100644 (file)
@@ -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 
 
 
index e7acaa8..26de4e5 100644 (file)
@@ -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
index 132dacc..2e3c312 100644 (file)
@@ -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
index eb9d507..1324200 100644 (file)
@@ -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
 
index ebb7ee4..7533e6a 100644 (file)
@@ -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
index 28d6a06..3c304e2 100644 (file)
@@ -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
index dda9a22..4edb2b0 100644 (file)
@@ -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
index fdca889..1d8ad62 100644 (file)
@@ -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