summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
-rw-r--r--lldb/source/API/SBModule.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp
index c80d952e3120..ea893df1acb9 100644
--- a/lldb/source/API/SBModule.cpp
+++ b/lldb/source/API/SBModule.cpp
@@ -58,6 +58,12 @@ SBModule::IsValid () const
return m_opaque_sp.get() != NULL;
}
+void
+SBModule::Clear()
+{
+ m_opaque_sp.reset();
+}
+
SBFileSpec
SBModule::GetFileSpec () const
{