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

@@ -148,3 +148,9 @@ SBFunction::get ()
return m_opaque_ptr;
}
void
SBFunction::reset (lldb_private::Function *lldb_object_ptr)
{
m_opaque_ptr = lldb_object_ptr;
}