aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/include/lldb/API/SBModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/API/SBModule.h')
-rw-r--r--contrib/llvm-project/lldb/include/lldb/API/SBModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/API/SBModule.h b/contrib/llvm-project/lldb/include/lldb/API/SBModule.h
index 859eaffe89a0..dd783fe4107d 100644
--- a/contrib/llvm-project/lldb/include/lldb/API/SBModule.h
+++ b/contrib/llvm-project/lldb/include/lldb/API/SBModule.h
@@ -291,12 +291,16 @@ public:
/// Get the number of global modules.
static uint32_t GetNumberAllocatedModules();
+ /// Remove any global modules which are no longer needed.
+ static void GarbageCollectAllocatedModules();
+
private:
friend class SBAddress;
friend class SBFrame;
friend class SBSection;
friend class SBSymbolContext;
friend class SBTarget;
+ friend class SBType;
explicit SBModule(const lldb::ModuleSP &module_sp);