llvm::ExecutionEngine::removeModule

Remove a module from the engine without freeing it.

Synopsis

Declared in <llvm/ExecutionEngine/ExecutionEngine.h>

virtual
bool
removeModule(Module* M);

Description

Removes a Module from the list of modules, but does not free the module's memory. Returns true if M is found, in which case the caller assumes responsibility for deleting the module.

Return Value

True if M was found and removed.

Parameters

NameDescription
MModule to remove from the execution engine.