forked from OSchip/llvm-project
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:
parent
38e98d5782
commit
090a237f29
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue