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/static-member.cpp | |
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/static-member.cpp')
-rw-r--r-- | debuginfo-tests/static-member.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debuginfo-tests/static-member.cpp b/debuginfo-tests/static-member.cpp index a8e3ecb9524..fdca889bdf7 100644 --- a/debuginfo-tests/static-member.cpp +++ b/debuginfo-tests/static-member.cpp @@ -1,5 +1,5 @@ -// RUN: %clangxx -O0 -g %s -o %t -c -// RUN: %clangxx %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 |