Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object

before trying to use it.

llvm-svn: 121748
This commit is contained in:
Greg Clayton
2010-12-14 04:58:53 +00:00
parent 092a7bdf9f
commit 72eff18ae4
10 changed files with 102 additions and 43 deletions

View File

@@ -151,6 +151,11 @@ SBBlock::get () const
return m_opaque_ptr;
}
void
SBBlock::reset (lldb_private::Block *block)
{
m_opaque_ptr = block;
}
bool
SBBlock::GetDescription (SBStream &description)