[LLVMdev] Using lli tool for vmjc generated llvm-ir

Sri emdcdeveloper at gmail.com
Thu Apr 3 18:36:39 PDT 2014


Hi
      I was trying to test vmjc generated llvm-IR using lli tool and 
encountered some error. First I compiled java file using javac and then 
generated the .bc by using vmjc.
First I ran this to generate bc
/*vmjc -with-jit -disable-opt -main=HelloWorld  HelloWorld*/

then
/*lli -load=../lib/static-gc-printer.so  HelloWorld.bc*/
*LLVM ERROR: Program used external function 'StartJnjvmWithJIT' which 
could not be resolved!*

actually this /*StartJnjvmWithJIT*/ is available on libj3compiler.a but 
, how to link this static libraries with lli ? is there any way to 
generate supporting share library for this.

Thanks

Regards
Sri.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140404/e200bbec/attachment.html>


More information about the llvm-dev mailing list