use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
[oota-llvm.git] / lib / Support / Windows / Host.inc
index 2e6d6f190370b9143a9417b89a37e14b96c7df59..cce82349cd6131c4dca5f52c37bb5e374e051359 100644 (file)
@@ -20,3 +20,7 @@ using namespace llvm;
 std::string sys::getDefaultTargetTriple() {
   return LLVM_DEFAULT_TARGET_TRIPLE;
 }
+
+std::string sys::getHostTriple() {
+  return LLVM_HOST_TRIPLE;
+}