[llvm-commits] [PATCH] Review request: Lazy compilation for MCJIT

Kaylor, Andrew andrew.kaylor at intel.com
Thu Aug 2 14:11:02 PDT 2012


Hi everyone,

The attached patch implements lazy compilation for MCJIT.  That is, the module isn't JITed until a call is made to request a pointer to a function.

I tried to implement this in such a way as to move towards multiple module support.  There are still a few things to be cleaned up in that regard, but it seemed best to leave that for a future patch since I intend to refactor the memory ownership model somewhat extensively.

I'm not making any effort to respect the 'CompilingLazily' flag, since that couldn't be changed before the constructor and so would have no meaning in MCJIT.

-Andy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120802/6036f1c4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazy-compilation.patch
Type: application/octet-stream
Size: 5203 bytes
Desc: lazy-compilation.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120802/6036f1c4/attachment.obj>


More information about the llvm-commits mailing list