There's a command line option, "-extra-archive", that you can use
to provide archive files to lli. There's also a corresponding option for
object files.
-Andy
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Sri
Sent: Thursday, April 03, 2014 6:37 PM
To: LLVM Developers Mailing List
Subject: [LLVMdev] Using lli tool for vmjc generated llvm-ir
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/a2662eb0/attachment.html>