[LLVMdev] dynamic linkage for jit

Charllls Alquarra charlesneedspace at yahoo.com.ar
Sat Jun 2 10:14:37 PDT 2012




Hi,

I want to execute functions in a module, this module will have dependencies resolved in other modules. the modules might change (dynamic compilation environment) so i would prefer not not link all the dependencies in a single monolithic module, that is, if it can be avoided

I hope to use Linker::linkModules but this is always destructive. That is ok for one module depending on a single one, since if that one changed, is no big deal, but isn't it overkill to rebuild and relink N-1 modules that did not change just because of a single one that changed?

I wonder if there is a non-destructive version of linkModules that can work for JIT execution. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120602/64588b6a/attachment.html>


More information about the llvm-dev mailing list