[LLVMdev] Using lli
John Criswell
criswell at cs.uiuc.edu
Mon Feb 23 13:12:42 PST 2009
David Greene wrote:
> I'm about to foray into my first serious use of lli.
>
> I'd like to be able to take the bitcode produced at various points by our
> compiler and execute it to check for bugs.
>
> The big question for me is around libraries. To execute tests I will ned to
> link the JITed code to precompiled libraries. Looking at the lli
> documentation, I don't see any specific flags to handle that. Did I miss
> something?
>
The -load option to lli will load dynamic libraries; the loaded
functions should be usable by JIT'ed code.
-- John T.
More information about the llvm-dev
mailing list