[LLVMdev] Which function executing VMKit's llvm-IR

Gaël Thomas gael.thomas at lip6.fr
Mon Mar 31 15:38:01 PDT 2014


Hi!

Everything is there:

Function* JavaLLVMCompiler::parseFunction(JavaMethod* meth, Class*
customizeFor);

In the file JavaLLVMCompiler.cpp.

At line 72, we translate the java bytecode into the llvm IR. At lines
73 and 74, we call the function passes, which generates the native
code.

Gaël


2014-03-31 23:49 GMT+02:00 emdc developer <emdcdeveloper at gmail.com>:
> Hi All
>             I am trying to trace the execution path of J3 jvm with input of
> java byte code .  Once java byte codes compiled in to llvm IR it will be
> passed to VMKit for store them .   I couldn't find out which function is
> getting this Jitted output from Functioncache and executing them ?  because
> , VMKit doesn't have an implementation of llvm Executionengine's runFunction
> or runFunctionAsMain  implementation which are responsible for executing
> Jitted llvm-IR ?
>
> Thanks
>
> Regards
> Sri.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
-------------------------------------------------------------------
Gaël Thomas, Associate Professor, UPMC
http://pagesperso-systeme.lip6.fr/Gael.Thomas/
-------------------------------------------------------------------




More information about the llvm-dev mailing list