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()
1058 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
1059 if (thread_sp) in ShouldStopSynchronous()
1060 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStopSynchronous()
1065 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1066 if (thread_sp) in ShouldStop()
1067 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStop()
1073 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
1074 if (thread_sp) { in DoShouldNotify()
1076 thread_sp->GetProcess()->GetUnixSignals()->GetShouldNotify(m_value); in DoShouldNotify()
1080 "thread {0:d} received signal: {1}", thread_sp->GetIndexID(), in DoShouldNotify()
1081 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsStringRef( in DoShouldNotify()
1092 ThreadSP thread_sp(m_thread_wp.lock()); in WillResume() local
1093 if (thread_sp) { in WillResume()
1094 if (!thread_sp->GetProcess()->GetUnixSignals()->GetShouldSuppress( in WillResume()
1096 thread_sp->SetResumeSignal(m_value); in WillResume()
1102 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
1103 if (thread_sp) { in GetDescription()
1104 UnixSignalsSP unix_signals = thread_sp->GetProcess()->GetUnixSignals(); in GetDescription()
1242 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1243 if (thread_sp) in ShouldStop()
1244 return thread_sp->GetProcess()->GetStopOnExec(); in ShouldStop()
1258 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1259 if (thread_sp) in PerformAction()
1260 thread_sp->GetProcess()->DidExec(); in PerformAction()
1288 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1289 if (thread_sp) in PerformAction()
1290 thread_sp->GetProcess()->DidFork(m_child_pid, m_child_tid); in PerformAction()
1322 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1323 if (thread_sp) in PerformAction()
1324 thread_sp->GetProcess()->DidVFork(m_child_pid, m_child_tid); in PerformAction()
1354 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1355 if (thread_sp) in PerformAction()
1356 thread_sp->GetProcess()->DidVForkDone(); in PerformAction()
1465 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference() local
1466 if (!thread_sp) { in GetCrashingDereference()
1471 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); in GetCrashingDereference()