projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
[oota-llvm.git]
/
lib
/
Support
/
Windows
/
Host.inc
diff --git
a/lib/Support/Windows/Host.inc
b/lib/Support/Windows/Host.inc
index 2e6d6f190370b9143a9417b89a37e14b96c7df59..cce82349cd6131c4dca5f52c37bb5e374e051359 100644
(file)
--- 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;
+}