From 73d0e211a39650fc7562e0f15ed21440dde2243a Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 15 Oct 2007 19:56:32 +0000 Subject: Add removeModuleProvider() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43002 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ExecutionEngine/ExecutionEngine.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/llvm/ExecutionEngine') 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. -- cgit v1.2.3