diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-22 03:04:57 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-22 03:04:57 +0000 |
commit | 956994c2edeccaeab708983257ea62d622d72dc2 (patch) | |
tree | cd18774705cb37b3f3941155892c71bd0bfcefe3 | |
parent | 2864de7c2d764a4be44bed073afadb663fdbb2dd (diff) | |
download | external_llvm-956994c2edeccaeab708983257ea62d622d72dc2.zip external_llvm-956994c2edeccaeab708983257ea62d622d72dc2.tar.gz external_llvm-956994c2edeccaeab708983257ea62d622d72dc2.tar.bz2 |
ExecutionEngine/TargetSelect.cpp: Override default triple as LLVM_HOSTTRIPLE.
In current implementation, JIT should run only on host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160610 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ExecutionEngine/TargetSelect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/TargetSelect.cpp b/lib/ExecutionEngine/TargetSelect.cpp index b757111..7cdd669 100644 --- a/lib/ExecutionEngine/TargetSelect.cpp +++ b/lib/ExecutionEngine/TargetSelect.cpp @@ -26,7 +26,7 @@ using namespace llvm; TargetMachine *EngineBuilder::selectTarget() { - Triple TT(M->getTargetTriple()); + Triple TT(LLVM_HOSTTRIPLE); return selectTarget(TT, MArch, MCPU, MAttrs); } |