Lines Matching refs:thread_sp

38   ThreadSP thread_sp(m_thread_wp.lock());  in IsValid()  local
39 if (thread_sp) in IsValid()
40 return thread_sp->GetProcess()->GetStopID() == m_stop_id; in IsValid()
45 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid() local
46 if (thread_sp) { in MakeStopInfoValid()
47 m_stop_id = thread_sp->GetProcess()->GetStopID(); in MakeStopInfoValid()
48 m_resume_id = thread_sp->GetProcess()->GetResumeID(); in MakeStopInfoValid()
53 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe() local
55 if (thread_sp) { in HasTargetRunSinceMe()
56 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState(); in HasTargetRunSinceMe()
68 uint32_t curr_resume_id = thread_sp->GetProcess()->GetResumeID(); in HasTargetRunSinceMe()
70 thread_sp->GetProcess()->GetLastUserExpressionResumeID(); in HasTargetRunSinceMe()
105 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo() local
106 if (thread_sp) { in StoreBPInfo()
108 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in StoreBPInfo()
136 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
137 if (thread_sp) { in ShouldStopSynchronous()
141 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in ShouldStopSynchronous()
143 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
165 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
166 if (thread_sp) { in DoShouldNotify()
168 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in DoShouldNotify()
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()
270 if (!thread_sp->IsValid()) { in PerformAction()
281 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in PerformAction()
327 ThreadList::ExpressionExecutionThreadPusher thread_pusher(thread_sp); in PerformAction()
329 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
350 if (thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
352 thread_sp->ResetStopInfo(); in PerformAction()
416 if (!bp_loc_sp->ValidForThisThread(*thread_sp)) { in PerformAction()
422 static_cast<unsigned long long>(thread_sp->GetID())); in PerformAction()
473 static_cast<unsigned long long>(thread_sp->GetID()), in PerformAction()
510 thread_sp->SetShouldReportStop(eVoteYes); in PerformAction()
525 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger(); in PerformAction()
543 thread_sp->GetProcess()->GetTarget().RemoveBreakpointByID( in PerformAction()
577 thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
586 thread_sp->CalculatePublicStopInfo(); in PerformAction()
688 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
689 if (thread_sp) { in ShouldStopSynchronous()
691 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in ShouldStopSynchronous()
695 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
729 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
730 if (thread_sp) { in PerformAction()
733 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in PerformAction()
736 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
756 StopInfoSP stored_stop_info_sp = thread_sp->GetStopInfo(); in PerformAction()
761 thread_sp->QueueThreadPlanForStepSingleInstruction( in PerformAction()
772 thread_sp->GetID()); in PerformAction()
775 thread_sp->GetID()); in PerformAction()
776 thread_sp->SetStopInfo(stored_stop_info_sp); in PerformAction()
804 thread_sp->CalculateTarget()->GetWatchpointList().FindByAddress( in PerformAction()
955 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
956 if (thread_sp) in ShouldStopSynchronous()
957 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStopSynchronous()
962 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
963 if (thread_sp) in ShouldStop()
964 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStop()
970 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
971 if (thread_sp) { in DoShouldNotify()
973 thread_sp->GetProcess()->GetUnixSignals()->GetShouldNotify(m_value); in DoShouldNotify()
977 "thread %d received signal: %s", thread_sp->GetIndexID(), in DoShouldNotify()
978 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in DoShouldNotify()
989 ThreadSP thread_sp(m_thread_wp.lock()); in WillResume() local
990 if (thread_sp) { in WillResume()
991 if (!thread_sp->GetProcess()->GetUnixSignals()->GetShouldSuppress( in WillResume()
993 thread_sp->SetResumeSignal(m_value); in WillResume()
999 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
1000 if (thread_sp) { in GetDescription()
1003 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in GetDescription()
1133 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1134 if (thread_sp) in ShouldStop()
1135 return thread_sp->GetProcess()->GetStopOnExec(); in ShouldStop()
1149 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1150 if (thread_sp) in PerformAction()
1151 thread_sp->GetProcess()->DidExec(); in PerformAction()
1238 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference() local
1239 if (!thread_sp) { in GetCrashingDereference()
1243 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in GetCrashingDereference()