diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:40:39 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 21:40:39 +0000 |
commit | 56d27325c0fa36383c5c4e9857309d8877e58546 (patch) | |
tree | 02ad09c50e76f208cc2badb5e60058c4f0a027ad /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | ecf2020cf7c8477782bc2c07283f23621cd3a2b2 (diff) | |
download | bcm5719-llvm-56d27325c0fa36383c5c4e9857309d8877e58546.tar.gz bcm5719-llvm-56d27325c0fa36383c5c4e9857309d8877e58546.zip |
Allow for specification of which JIT to run on the commandline.
`lli -march=x86' or `lli -march=sparc' will forcefully select the JIT even on a
different platform. Running lli without the -march option will select the JIT
for the platform that it's currently running on.
Pro: can test Sparc JIT (debug printing mode) on X86 -- faster to compile/link
LLVM source base to test changes.
Con: Linking lli on x86 now pulls in all the Sparc libs -> longer link time
(but X86 can bear it, right?)
In the future, perhaps this should be a ./configure option to enable/disable
target JITting...
llvm-svn: 6360
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions