[LLVMdev] construction of ExecutionEngine without module

Jochen Wilhelmy j.wilhelmy at arcor.de
Fri Oct 8 04:35:44 PDT 2010


Hi!

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?

-Jochen




More information about the llvm-dev mailing list