Displaying 1 result from an estimated 1 matches for "emptymodule".
2008 Feb 28
1
[LLVMdev] Are multiple execution engines allowed?
I'm trying to set up some automated testing, and I'd like to have
multiple instances of ExecutionEngines, so that the state from the
first test doesn't alter the second state.
Right now I'm doing something along the lines of:
Module *emptyModule = new Module("emptyModule");
ExecutionEngine executionEngine = ExecutionEngine::create(emptyModule);
ExistingModuleProvider moduleProvider = new
ExistingModuleProvider(module from disk);
executionEngine->addModuleProvider();
////tests
executi...