Displaying 2 results from an estimated 2 matches for "lli_x_".
Did you mean:
lle_x_
2006 Oct 26
2
[LLVMdev] lli in interpreter mode and external native libraries
Hi all,
Is there any way to support calling external libraries from interpreted
code (*not* JITted code) within lli?
I am looking at the external functions implementation, and it seems just
to wrap back onto its own library, looking up lli_X_... prefixed
functions. It would (for obvious reasons) be incredibly useful not to be
restricted to the (tiny) set of supplied functions.
Thank you in advance,
Sarah Thompson,
USRA/RIACS, NASA Ames Research Laboratory
PS: I'm attempting to extend the interpreter to implement threads
(mostly...
2006 Oct 26
0
[LLVMdev] lli in interpreter mode and external native libraries
On Wed, 25 Oct 2006, Sarah Thompson wrote:
> Is there any way to support calling external libraries from interpreted
> code (*not* JITted code) within lli?
Sure.
> I am looking at the external functions implementation, and it seems just
> to wrap back onto its own library, looking up lli_X_... prefixed
> functions. It would (for obvious reasons) be incredibly useful not to be
> restricted to the (tiny) set of supplied functions.
There are three ways to do this:
1. Ugly: teach the interpreter about every function you care about, in
ExternalFunctions.cpp.
2. Less Ugly: refac...