diff options
author | Jim Ingham <jingham@apple.com> | 2011-12-19 20:39:44 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-12-19 20:39:44 +0000 |
commit | 5d3bca4ec3347d5100b071ba7c5c637f522a014b (patch) | |
tree | 3a4d703e63d545326f2ee037a9bb58cfc1f69685 /lldb/source/API/SBModule.cpp | |
parent | 37c45db1894f489e28b8cf88b5e5c162ec1c34a8 (diff) | |
download | bcm5719-llvm-5d3bca4ec3347d5100b071ba7c5c637f522a014b.tar.gz bcm5719-llvm-5d3bca4ec3347d5100b071ba7c5c637f522a014b.zip |
Add needed Clear methods.
<rdar://problem/10596340>
llvm-svn: 146902
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
-rw-r--r-- | lldb/source/API/SBModule.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index c80d952e312..ea893df1acb 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 { |