Displaying 2 results from an estimated 2 matches for "callget5".
2007 Jun 07
2
[LLVMdev] How to call native functions from bytecode run in JIT?
...he fly. I need to call some native functions of my program
from bytecode functions which causes some troubles as it appears not
to be documented. My test scenario works like the following:
I have a simple function "int get5()" which I want to call from a
bytecode function "int callget5()" which is generated at runtime. I
register the native function "get5" using addGlobalMapping in the
execution engine. I then try to call it using runFunction. This works
under OS X, but fails in Linux giving something like "tried to call
unknown function int* () get5&q...
2007 Jun 10
0
[LLVMdev] How to call native functions from bytecode run in JIT?
...ive functions of my
> program from bytecode functions which causes some troubles as it
> appears not to be documented. My test scenario works like the
> following:
>
> I have a simple function "int get5()" which I want to call from a
> bytecode function "int callget5()" which is generated at runtime. I
> register the native function "get5" using addGlobalMapping in the
> execution engine. I then try to call it using runFunction. This
> works under OS X, but fails in Linux giving something like "tried
> to call unknown fun...