summaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Host.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Windows/Host.inc')
-rw-r--r--lib/Support/Windows/Host.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Windows/Host.inc b/lib/Support/Windows/Host.inc
index 2e6d6f1903..cce82349cd 100644
--- a/lib/Support/Windows/Host.inc
+++ b/lib/Support/Windows/Host.inc
@@ -20,3 +20,7 @@ using namespace llvm;
std::string sys::getDefaultTargetTriple() {
return LLVM_DEFAULT_TARGET_TRIPLE;
}
+
+std::string sys::getHostTriple() {
+ return LLVM_HOST_TRIPLE;
+}