Displaying 2 results from an estimated 2 matches for "materialzefunct".
2008 Aug 01
0
[LLVMdev] LLVM JIT: How to install a callback for a function loaded in at runtime
...termining how the JIT system allows for dynamic loading of functions into the JIT. The paper indicates the JnJVM use some sort of callback when the JIT hits a call it cannot yet resolve. How do I install such a handler?
>
>
You need to implement your own ModuleProvider and specialize the
materialzeFunction function to do the dynamic loading. In vmkit, you
can take a look at lib/JnJVM/VMCore/JnjvmModuleProvider.cpp file.
Nicolas
> Thanks in advance,
>
> Carter.
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at...
2008 Jul 31
3
[LLVMdev] LLVM JIT: How to install a callback for a function loaded in at runtime
Hello,
This is probably a bit of a beginner's question but I am new to LLVM
I have been examining the possibility of constructing something similar to the JnJVM for a language which supports dynamic class loading. The problem I am having is determining how the JIT system allows for dynamic loading of functions into the JIT. The paper indicates the JnJVM use some sort of callback when the JIT