[LLVMdev] ExecutionEngine should have a non-Module creator

Yaron Keren yaron.keren at gmail.com
Thu Oct 17 12:46:07 PDT 2013


With the support of Multi-modules, it makes sense to have a creator /
constructor for ExecutionEngine that does not require a module.

The use-case is a program using one EE created at initialization that holds
many modules created later, as needed.

Workaround for current API could be
1) using a pointer to EE init with NULL, delaying the actual EE
construction to the time the first module is ready and skipping
construction with later modules.
or
2) supplying a dummy Module to the creator and then removeModule(M).

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131017/fb098fd2/attachment.html>


More information about the llvm-dev mailing list