Lines Matching refs:thread_sp

41   ThreadSP thread_sp(m_thread_wp.lock());  in IsValid()  local
42 if (thread_sp) in IsValid()
43 return thread_sp->GetProcess()->GetStopID() == m_stop_id; in IsValid()
48 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid() local
49 if (thread_sp) { in MakeStopInfoValid()
50 m_stop_id = thread_sp->GetProcess()->GetStopID(); in MakeStopInfoValid()
51 m_resume_id = thread_sp->GetProcess()->GetResumeID(); in MakeStopInfoValid()
56 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe() local
58 if (thread_sp) { in HasTargetRunSinceMe()
59 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState(); in HasTargetRunSinceMe()
71 uint32_t curr_resume_id = thread_sp->GetProcess()->GetResumeID(); in HasTargetRunSinceMe()
73 thread_sp->GetProcess()->GetLastUserExpressionResumeID(); in HasTargetRunSinceMe()
108 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo() local
109 if (thread_sp) { in StoreBPInfo()
111 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in StoreBPInfo()
152 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
153 if (thread_sp) { in ShouldStopSynchronous()
157 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in ShouldStopSynchronous()
159 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
186 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
187 if (thread_sp) { in GetDescription()
189 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in GetDescription()
214 thread_sp->GetProcess()->GetTarget().GetBreakpointByID( in GetDescription()
264 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
266 if (thread_sp) { in PerformAction()
269 if (!thread_sp->IsValid()) { in PerformAction()
280 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in PerformAction()
335 ThreadList::ExpressionExecutionThreadPusher thread_pusher(thread_sp); in PerformAction()
337 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
358 if (thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
360 thread_sp->ResetStopInfo(); in PerformAction()
418 if (!bp_loc_sp->ValidForThisThread(*thread_sp)) { in PerformAction()
424 static_cast<unsigned long long>(thread_sp->GetID())); in PerformAction()
477 static_cast<unsigned long long>(thread_sp->GetID()), in PerformAction()
516 thread_sp->SetShouldReportStop(eVoteYes); in PerformAction()
531 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger(); in PerformAction()
552 thread_sp->GetProcess()->GetTarget().RemoveBreakpointByID( in PerformAction()
586 thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
595 thread_sp->CalculatePublicStopInfo(); in PerformAction()
781 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
782 assert(thread_sp); in ShouldStopSynchronous()
784 if (thread_sp->GetTemporaryResumeState() == eStateSuspended) { in ShouldStopSynchronous()
794 thread_sp->CalculateTarget()->GetWatchpointList().FindByID(GetValue())); in ShouldStopSynchronous()
808 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
834 *(thread_sp.get()), me_as_siwp_sp, wp_sp)); in ShouldStopSynchronous()
841 error = thread_sp->QueueThreadPlan(step_over_wp_sp, false); in ShouldStopSynchronous()
853 thread_sp->SetShouldRunBeforePublicStop(true); in ShouldStopSynchronous()
882 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
883 if (thread_sp) { in PerformAction()
886 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in PerformAction()
892 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
1060 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
1061 if (thread_sp) in ShouldStopSynchronous()
1062 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStopSynchronous()
1067 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1068 if (thread_sp) in ShouldStop()
1069 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStop()
1075 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
1076 if (thread_sp) { in DoShouldNotify()
1078 thread_sp->GetProcess()->GetUnixSignals()->GetShouldNotify(m_value); in DoShouldNotify()
1082 "thread {0:d} received signal: {1}", thread_sp->GetIndexID(), in DoShouldNotify()
1083 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsStringRef( in DoShouldNotify()
1094 ThreadSP thread_sp(m_thread_wp.lock()); in WillResume() local
1095 if (thread_sp) { in WillResume()
1096 if (!thread_sp->GetProcess()->GetUnixSignals()->GetShouldSuppress( in WillResume()
1098 thread_sp->SetResumeSignal(m_value); in WillResume()
1104 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
1105 if (thread_sp) { in GetDescription()
1106 UnixSignalsSP unix_signals = thread_sp->GetProcess()->GetUnixSignals(); in GetDescription()
1244 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1245 if (thread_sp) in ShouldStop()
1246 return thread_sp->GetProcess()->GetStopOnExec(); in ShouldStop()
1260 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1261 if (thread_sp) in PerformAction()
1262 thread_sp->GetProcess()->DidExec(); in PerformAction()
1290 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1291 if (thread_sp) in PerformAction()
1292 thread_sp->GetProcess()->DidFork(m_child_pid, m_child_tid); in PerformAction()
1324 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1325 if (thread_sp) in PerformAction()
1326 thread_sp->GetProcess()->DidVFork(m_child_pid, m_child_tid); in PerformAction()
1356 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1357 if (thread_sp) in PerformAction()
1358 thread_sp->GetProcess()->DidVForkDone(); in PerformAction()
1467 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference() local
1468 if (!thread_sp) { in GetCrashingDereference()
1473 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); in GetCrashingDereference()