diff options
author | Filipe Cabecinhas <me@filcab.net> | 2014-10-16 23:43:34 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2014-10-16 23:43:34 +0000 |
commit | 63f2c2cb6599aed7db956272a6a0f541d864e69b (patch) | |
tree | a2effd2a1fa88fedb64e4ea3132e14a59f08faa4 /debuginfo-tests/blocks.m | |
parent | 659670d9338cc298a3589315877983ba32bd9fae (diff) | |
download | bcm5719-llvm-63f2c2cb6599aed7db956272a6a0f541d864e69b.tar.gz bcm5719-llvm-63f2c2cb6599aed7db956272a6a0f541d864e69b.zip |
Always compile debuginfo-tests for the host triple
Since these tests expect a working debugger, always compile them for the
host triple, assuming a working debugger is present.
This enables us to compile and run them, even when clang is, by default,
a cross-compiler (but can still target the host).
llvm-svn: 219992
Diffstat (limited to 'debuginfo-tests/blocks.m')
-rw-r--r-- | debuginfo-tests/blocks.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/blocks.m b/debuginfo-tests/blocks.m index 0ac0e073efb..302005d6ca9 100644 --- a/debuginfo-tests/blocks.m +++ b/debuginfo-tests/blocks.m @@ -1,5 +1,5 @@ -// RUN: %clang -O0 -g %s -c -o %t.o -// RUN: %clang %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 |