Skip to content

Commit 841ee9b

Browse files
committed
Add a missing check for m_real_stop_reason.
<rdar://problem/20738527> llvm-svn: 236762
1 parent 712ceda commit 841ee9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/ThreadPlanCallFunction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ ThreadPlanCallFunction::DoPlanExplainsStop (Event *event_ptr)
407407
// signal that is set not to stop. Check that here first. We just say we explain the stop
408408
// but aren't done and everything will continue on from there.
409409

410-
if (m_real_stop_info_sp->ShouldStopSynchronous(event_ptr))
410+
if (m_real_stop_info_sp && m_real_stop_info_sp->ShouldStopSynchronous(event_ptr))
411411
{
412412
SetPlanComplete(false);
413413
if (m_subplan_sp)

0 commit comments

Comments
 (0)