OSDN Git Service

use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
[android-x86/external-llvm.git] / lib / Support / Windows / Host.inc
index 2e6d6f1..cce8234 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;
+}