aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ExecutionEngine/ExecutionEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ExecutionEngine/ExecutionEngine.h')
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h
index 7100a5ff04..2a2fb7cb8c 100644
--- a/include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/include/llvm/ExecutionEngine/ExecutionEngine.h
@@ -97,7 +97,11 @@ public:
void addModuleProvider(ModuleProvider *P) {
Modules.push_back(P);
}
-
+
+ /// removeModuleProvider - Remove a ModuleProvider from the list of modules.
+ /// Release module from ModuleProvider.
+ Module* removeModuleProvider(ModuleProvider *P, std::string *ErrInfo = 0);
+
/// FindFunctionNamed - Search all of the active modules to find the one that
/// defines FnName. This is very slow operation and shouldn't be used for
/// general code.