[LLVMdev] Modify a module at runtime in MCJIT
David Blaikie
dblaikie at gmail.com
Mon Sep 1 09:29:09 PDT 2014
I don't believe this is supported in any way other than to load everything
up anew and start again.
I know lang has some ideas about how to add spur for this and may have some
more precise description of the current state of affairs.
On Aug 31, 2014 10:40 PM, "sara elshobaky" <sara.elshobaky at gmail.com> wrote:
> Hello,
>
> I’m using MCJIT to run some loops on my ARM processor.
>
> I was trying to perform some runtime optimizations on some function, and
> this requires recompiling the function at runtime.
>
> I know that this feature is not available yet in MCJIT , and to modify a
> function I have to create a new module with the newly optimized code.
>
> My questions are:
>
> - The newly created module can be added to the same execution
> engine or I have to create a new one?
>
> - Is it possible to swap the execution from the running module
> to the new optimized one at runtime? If yes, how? If no, are there any
> further solutions?
>
>
>
> Please advice
>
> Sara
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140901/263b4db0/attachment.html>
More information about the llvm-dev
mailing list