Check for a NULL saved stop info shared pointer.

llvm-svn: 124170
This commit is contained in:
Jim Ingham 2011-01-25 02:47:23 +00:00
parent 0098499f7d
commit 0c2706823e
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ bool
Thread::RestoreThreadStateFromCheckpoint (ThreadStateCheckpoint &saved_state)
{
RestoreSaveFrameZero(saved_state.register_backup);
saved_state.stop_info_sp->MakeStopInfoValid();
if (saved_state.stop_info_sp)
saved_state.stop_info_sp->MakeStopInfoValid();
SetStopInfo(saved_state.stop_info_sp);
return true;
}