Heming Cui
2010-Jan-01 04:31 UTC
[LLVMdev] Can Interpreter handle clone() call (with CLONE_VM flag)?
Dear all, May I know whether Interpreter in llvm-2.6 can handle clone() call (with CLONE_VM flag)? Another small question is: since JIT only invokes the main() function in a program once, and does not have control to the execution while main() is running, what is the benefit of using JIT? -- Regards, Heming Cui -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091231/cdb1946c/attachment.html>
Eli Friedman
2010-Jan-01 04:48 UTC
[LLVMdev] Can Interpreter handle clone() call (with CLONE_VM flag)?
On Thu, Dec 31, 2009 at 8:31 PM, Heming Cui <hc2428 at columbia.edu> wrote:> Another small question is: since JIT only invokes the main() function > in a program once, and does not have control to the execution while main() > is running, what is the benefit of using JIT?The point of the JIT is that you can write a custom program which JIT's and calls individual functions generated at runtime. lli itself is more of an example program than a practical tool. -Eli
Reasonably Related Threads
- [LLVMdev] Is it possible to map an LLVM instruction to x86 assembly instructions?
- [LLVMdev] How does JIT/lli work with bc file?
- [LLVMdev] How to add extern function declaratioin to llvm bc?
- [LLVMdev] How does JIT/lli work with bc file?
- [LLVMdev] Given Filename and line number, how to get its basicblock?