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
diff --git a/debuginfo-tests/ctor.cpp b/debuginfo-tests/ctor.cpp
index 331d4e5..8a858e4 100644
--- a/debuginfo-tests/ctor.cpp
+++ b/debuginfo-tests/ctor.cpp
@@ -1,5 +1,5 @@
-// RUN: %clangxx -O0 -g %s -c -o %t.o
-// RUN: %clangxx %t.o -o %t.out
+// RUN: %clangxx --target=%itanium_abi_host_triple -O0 -g %s -c -o %t.o
+// RUN: %clangxx --target=%itanium_abi_host_triple %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out