summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/nested-struct.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-10-16 23:43:34 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-10-16 23:43:34 +0000
commit63f2c2cb6599aed7db956272a6a0f541d864e69b (patch)
treea2effd2a1fa88fedb64e4ea3132e14a59f08faa4 /debuginfo-tests/nested-struct.cpp
parent659670d9338cc298a3589315877983ba32bd9fae (diff)
downloadbcm5719-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.cpp2
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
OpenPOWER on IntegriCloud