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.

llvm-svn: 220152
This commit is contained in:
Filipe Cabecinhas 2014-10-18 23:47:59 +00:00
parent 38e98d5782
commit 090a237f29
11 changed files with 20 additions and 20 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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