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 committed 2010-12-14 04:58:53 +00:00
1 parent 092a7bdf9f
commit 72eff18ae4
10 files changed
+102 -43

No files matched your search

+6
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;
}