summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/blocks.m
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-10-18 23:47:59 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-10-18 23:47:59 +0000
commit090a237f2981d7059073439f4fe159cbd7ab3389 (patch)
treef4bec8744787c52f6cff9f8873bce504bb8aa1b1 /debuginfo-tests/blocks.m
parent38e98d5782b24b6cfcdd7651ebb4eff547cf2619 (diff)
downloadbcm5719-llvm-090a237f2981d7059073439f4fe159cbd7ab3389.tar.gz
bcm5719-llvm-090a237f2981d7059073439f4fe159cbd7ab3389.zip
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
Diffstat (limited to 'debuginfo-tests/blocks.m')
-rw-r--r--debuginfo-tests/blocks.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/blocks.m b/debuginfo-tests/blocks.m
index 302005d6ca9..8e5a2121320 100644
--- a/debuginfo-tests/blocks.m
+++ b/debuginfo-tests/blocks.m
@@ -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
OpenPOWER on IntegriCloud