[LLVMdev] Adding code after compilation
Eran.Weiss at emc.com
Eran.Weiss at emc.com
Sun Jun 17 04:43:16 PDT 2012
Hi,
I want to be able add a function to a module after it is (partly) compiled in JIT. Let's say we have these functions:
Foo()
{
Stuff;
}
Bar()
{
Foo();
MoreStuff;
}
I want to have a module with Foo optimized and have a callable pointer to Foo. Later, I want to generate Bar, optimize it (so Foo is inlined) and than get a callable pointer to Bar.
Is this possible?
If so, is there a way to run the optimizer so it will only process Bar, taking less time?
Thanks,
Eran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120617/1f5f300a/attachment.html>
More information about the llvm-dev
mailing list