[LLVMdev] [ LLI / MCJIT] re-initializing of lli ...
Armin Steinhoff
armin at steinhoff.de
Tue Jan 20 12:38:59 PST 2015
Hi,
I'm using the code of the tool "lli" embedded in a process of a controll
application.
After the second JIT compile action I see the following messages:
first JIT compile .. with a dump of the actual parameters:
xargv: -load
xargv: libqwt.so
xargv: -load
xargv: libosz.so
xargv: -entry-function=main
xargv: -use-mcjit
xargv: source.bc -> the jitted application code works !
second JIT compile:
xargv: -load
xargv: libqwt.so
xargv: -load
xargv: libosz.so
xargv: -entry-function=main
xargv: -use-mcjit
xargv: source.bc
dV: for the -entry-function option: may only occur zero or one times!
dV: for the -use-mcjit option: may only occur zero or one times!
<input bitcode> option: may only occur zero or one times!
The execution engine is deleted after the first JIT action ... but it
seems not to be sufficient in order to run multiple JIT compiles.
What's to do additionally to reset (or re-initialize) lli ?
Regards
Armin
More information about the llvm-dev
mailing list