construction of ExecutionEngine without module


ExecutionEngine::addModule seems the method I have to use when I want to dynamically
load snippets of code (e.g. containing a function) and execute them.
I wonder why ExecutionEngine::create is only available with an initial module.
I'd like to create an empty ExecutionEngine (i.e. without module) and then later
use addModule. Is it possible do add such a method or can the pointer to module
be NULL?


No it’s not possible. (Something related to the PassManager which needs a Module, I believe).
Just use an empty module for creation !