[LLVMdev] Can Interpreter handle clone() call (with CLONE_VM flag)?

Eli Friedman eli.friedman at gmail.com
Thu Dec 31 20:48:58 PST 2009


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




More information about the llvm-dev mailing list