summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/forward-declare-class.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/forward-declare-class.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/forward-declare-class.cpp')
-rw-r--r--debuginfo-tests/forward-declare-class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuginfo-tests/forward-declare-class.cpp b/debuginfo-tests/forward-declare-class.cpp
index 5c0f1df86e5..eb9d50745de 100644
--- a/debuginfo-tests/forward-declare-class.cpp
+++ b/debuginfo-tests/forward-declare-class.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 9168773
OpenPOWER on IntegriCloud