[llvm-commits] [llvm] r160610 - /llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Sat Jul 21 20:04:58 PDT 2012
Author: chapuni
Date: Sat Jul 21 22:04:57 2012
New Revision: 160610
URL: http://llvm.org/viewvc/llvm-project?rev=160610&view=rev
Log:
ExecutionEngine/TargetSelect.cpp: Override default triple as LLVM_HOSTTRIPLE.
In current implementation, JIT should run only on host.
Modified:
llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
Modified: llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp?rev=160610&r1=160609&r2=160610&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/TargetSelect.cpp Sat Jul 21 22:04:57 2012
@@ -26,7 +26,7 @@
using namespace llvm;
TargetMachine *EngineBuilder::selectTarget() {
- Triple TT(M->getTargetTriple());
+ Triple TT(LLVM_HOSTTRIPLE);
return selectTarget(TT, MArch, MCPU, MAttrs);
}
More information about the llvm-commits
mailing list