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/nested-struct.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/nested-struct.cpp')
-rw-r--r-- | debuginfo-tests/nested-struct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfo-tests/nested-struct.cpp b/debuginfo-tests/nested-struct.cpp index 22f2344e79b..ebb7ee4d71f 100644 --- a/debuginfo-tests/nested-struct.cpp +++ b/debuginfo-tests/nested-struct.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx -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 |