diff options
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
-rw-r--r-- | lldb/source/API/SBModule.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index a0b340a9cb7..b59a6002925 100644 --- a/lldb/source/API/SBModule.cpp +++ b/lldb/source/API/SBModule.cpp @@ -133,6 +133,7 @@ SBModule::GetDescription (SBStream &description) { if (m_opaque_sp) { + description.ref(); m_opaque_sp->Dump (description.get()); } else @@ -140,12 +141,3 @@ SBModule::GetDescription (SBStream &description) return true; } - -PyObject * -SBModule::__repr__ () -{ - SBStream description; - description.ref(); - GetDescription (description); - return PyString_FromString (description.GetData()); -} |