Home
last modified time | relevance | path

Searched refs:GetThread (Results 1 – 25 of 68) sorted by relevance

123

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlan.cpp42 Thread &ThreadPlan::GetThread() { in GetThread() function in ThreadPlan
123 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in WillResume()
133 __FUNCTION__, GetThread().GetIndexID(), in WillResume()
200 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ValidatePlan()
206 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ValidatePlan()
216 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ShouldStop()
222 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ShouldStop()
232 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in WillStop()
248 LLVM_PRETTY_FUNCTION, GetThread().GetID(), GetThread().GetProtocolID()); in DoPlanExplainsStop()
266 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in MischiefManaged()
[all …]
H A DThreadPlanTracer.cpp48 TargetSP target_sp(GetThread().CalculateTarget()); in GetLogStream()
55 Thread &ThreadPlanTracer::GetThread() { in GetThread() function in ThreadPlanTracer
70 GetThread().GetStackFrameAtIndex(0)->Dump(stream, show_frame_index, in Log()
79 lldb::StopInfoSP stop_info = GetThread().GetStopInfo(); in TracerExplainsStop()
136 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log()
145 pc_addr.Dump(stream, &GetThread(), Address::DumpStyleResolvedDescription, in Log()
199 if (abi->GetArgumentValues(GetThread(), value_list)) { in Log()
212 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log()
H A DThreadPlanBase.cpp62 StopInfoSP stop_info_sp = GetThread().GetStopInfo(); in ShouldReportStop()
101 GetThread().DiscardThreadPlans(false); in ShouldStop()
131 GetThread().DiscardThreadPlans(false); in ShouldStop()
143 GetThread().DiscardThreadPlans(false); in ShouldStop()
154 GetThread().DiscardThreadPlans(false); in ShouldStop()
H A DThreadPlanShouldStopHere.cpp48 m_owner->GetThread().GetRegisterContext()->GetPC(0); in InvokeShouldStopHereCallback()
62 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultShouldStopHereCallback()
104 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultStepFromHereCallback()
130 return_plan_sp = current_plan->GetThread().QueueThreadPlanForStepInRange( in DefaultStepFromHereCallback()
138 current_plan->GetThread().QueueThreadPlanForStepOutNoShouldStop( in DefaultStepFromHereCallback()
H A DThreadPlanStepInRange.cpp57 Thread &thread = GetThread(); in SetupAvoidNoDebug()
133 DumpAddress(s.AsRawOstream(), GetThread().GetRegisterContext()->GetPC(), in ShouldStop()
167 Thread &thread = GetThread(); in ShouldStop()
307 StackFrame *frame = GetThread().GetStackFrameAtIndex(0).get(); in FrameMatchesAvoidCriteria()
312 FileSpecList libraries_to_avoid(GetThread().GetLibrariesToAvoid()); in FrameMatchesAvoidCriteria()
333 avoid_regexp_to_use = GetThread().GetSymbolsToAvoidRegexp(); in FrameMatchesAvoidCriteria()
362 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultShouldStopHereCallback()
464 Thread &thread = GetThread(); in DoWillResume()
H A DThreadPlanStepOut.cpp173 avoid_nodebug = GetThread().GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
183 Thread &thread = GetThread(); in DidPush()
300 GetThread().GetStackFrameAtIndex(0)->GetStackID(); in DoPlanExplainsStop()
367 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID(); in ShouldStop()
446 Thread &thread = GetThread(); in QueueInlinedStepPlan()
518 abi_sp->GetReturnValueObject(GetThread(), return_compiler_type); in CalculateReturnValue()
527 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID(); in IsPlanStale()
H A DThreadPlanStepThrough.cpp41 m_start_address = GetThread().GetRegisterContext()->GetPC(0); in ThreadPlanStepThrough()
81 Thread &thread = GetThread(); in LookForPlanToStepThroughFromCurrentPC()
100 lldb::addr_t current_address = GetThread().GetRegisterContext()->GetPC(0); in LookForPlanToStepThroughFromCurrentPC()
245 Thread &thread = GetThread(); in HitOurBackstopBreakpoint()
H A DThreadPlanStepOverBreakpoint.cpp80 lldb::addr_t pc_addr = GetThread().GetRegisterContext()->GetPC(); in DoPlanExplainsStop()
131 lldb::addr_t pc_addr = GetThread().GetRegisterContext()->GetPC(); in MischiefManaged()
171 return GetThread().GetRegisterContext()->GetPC() != m_breakpoint_addr; in IsPlanStale()
H A DThreadPlanCallFunction.cpp156 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in ReportRegisterState()
188 Thread &thread = GetThread(); in DoTakedown()
376 GetThread().SetStopInfoToNothing(); in DidPush()
379 Thread &thread = GetThread(); in DidPush()
464 GetThread().RestoreThreadStateFromCheckpoint(m_stored_thread_state); in RestoreThreadState()
472 abi->GetReturnValueObject(GetThread(), m_return_type, persistent); in SetReturnValue()
H A DThreadPlanStepInstruction.cpp40 Thread &thread = GetThread(); in SetUpState()
100 Thread &thread = GetThread(); in IsPlanStale()
129 Thread &thread = GetThread(); in ShouldStop()
H A DThreadPlanStepRange.cpp104 Thread &thread = GetThread(); in InRange()
197 lldb::addr_t cur_pc = GetThread().GetRegisterContext()->GetPC(); in InSymbol()
218 Thread &thread = GetThread(); in CompareCurrentFrameToStartFrame()
320 lldb::addr_t cur_addr = GetThread().GetRegisterContext()->GetPC(); in SetNextBranchBreakpoint()
483 lldb::addr_t addr = GetThread().GetRegisterContext()->GetPC() - 1; in IsPlanStale()
H A DThreadPlanStepOverRange.cpp89 avoid_nodebug = GetThread().GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
129 Thread &thread = GetThread(); in ShouldStop()
373 Thread &thread = GetThread(); in DoWillResume()
H A DStopInfo.cpp599 GetThread()->ResetStopInfo(); in PerformAction()
715 GetThread().GetProcess()->DisableWatchpoint(m_watch_sp, false); in DoWillResume()
724 StopInfoSP stop_info_sp = GetThread().GetPrivateStopInfo(); in DoPlanExplainsStop()
744 GetThread().SetStopInfo(m_stop_info_sp); in ShouldStop()
759 GetThread().GetProcess()->EnableWatchpoint(m_watch_sp, true); in ResetWatchpoint()
1196 : StopInfo(plan_sp->GetThread(), LLDB_INVALID_UID), m_plan_sp(plan_sp), in StopInfoThreadPlan()
1465 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference()
H A DThreadPlanCallOnFunctionExit.cpp30 m_step_out_threadplan_sp = GetThread().QueueThreadPlanForStepOut( in DidPush()
H A DThreadPlanCallFunctionUsingABI.cpp64 abi->GetReturnValueObject(GetThread(), m_return_type, persistent); in SetReturnValue()
H A DStackFrame.cpp176 ThreadSP thread_sp = GetThread(); in GetFrameIndex()
198 ThreadSP thread_sp(GetThread()); in GetFrameCodeAddress()
255 ThreadSP thread_sp(GetThread()); in ChangePC()
1139 ThreadSP thread_sp(GetThread()); in GetRegisterContext()
1755 ThreadSP thread_sp(GetThread()); in CalculateTarget()
1766 ThreadSP thread_sp(GetThread()); in CalculateProcess()
1772 ThreadSP StackFrame::CalculateThread() { return GetThread(); } in CalculateThread()
1860 assert(GetThread() == curr_frame.GetThread()); in UpdatePreviousFrameFromCurrentFrame()
1983 m_recognized_frame_sp = GetThread() in GetRecognizedFrame()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleThreadPlanStepThroughObjCTrampoline.cpp72 GetThread().CalculateExecutionContext(exc_ctx); in InitializeFunctionCaller()
138 GetThread().CalculateExecutionContext(exc_ctx); in ShouldStop()
144 if (ABISP abi_sp = GetThread().GetProcess()->GetABI()) { in ShouldStop()
178 ObjCLanguageRuntime::Get(*GetThread().GetProcess()); in ShouldStop()
183 GetThread().GetProcess()->DeallocateMemory(m_sel_str_addr); in ShouldStop()
201 GetThread(), target_so_addr, false); in ShouldStop()
204 } else if (GetThread().IsThreadPlanDone(m_run_to_sp.get())) { in ShouldStop()
263 m_msgSend_bkpts.back()->SetThreadID(GetThread().GetID()); in AppleThreadPlanStepThroughDirectDispatch()
270 if (GetThread().GetStepInAvoidsNoDebug()) in AppleThreadPlanStepThroughDirectDispatch()
323 ProcessSP process_sp = GetThread().GetProcess(); in DoPlanExplainsStop()
[all …]
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBThreadPlan.cpp129 SBThread SBThreadPlan::GetThread() const { in GetThread() function in SBThreadPlan
134 return SBThread(thread_plan_sp->GetThread().shared_from_this()); in GetThread()
239 thread_plan_sp->GetThread().QueueThreadPlanForStepOverRange( in QueueThreadPlanForStepOverRange()
279 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepInRange( in QueueThreadPlanForStepInRange()
309 sc = thread_plan_sp->GetThread().GetStackFrameAtIndex(0)->GetSymbolContext( in QueueThreadPlanForStepOut()
314 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepOut( in QueueThreadPlanForStepOut()
348 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForRunToAddress( in QueueThreadPlanForRunToAddress()
379 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepScripted( in QueueThreadPlanForStepScripted()
403 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepScripted( in QueueThreadPlanForStepScripted()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlan.h320 Thread &GetThread();
503 GetThread().PushPlan(thread_plan_sp); in PushPlan()
512 ThreadPlan *GetPreviousPlan() { return GetThread().GetPreviousPlan(this); } in GetPreviousPlan()
518 return GetThread().GetPrivateStopInfo(); in GetPrivateStopInfo()
522 GetThread().SetStopInfo(stop_reason_sp); in SetStopInfo()
H A DThreadPlanTracer.h53 Thread &GetThread();
H A DUnwind.h61 Thread &GetThread() { return m_thread; } in GetThread() function
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DHistoryUnwind.cpp45 &frame->GetThread()->GetProcess()->GetTarget()); in DoCreateRegisterContextForFrame()
48 *frame->GetThread().get(), frame->GetConcreteFrameIndex(), in DoCreateRegisterContextForFrame()
49 frame->GetThread()->GetProcess()->GetAddressByteSize(), pc); in DoCreateRegisterContextForFrame()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp35 thread_t GetThread(uptr index) const;
77 thread_resume(suspended_threads_list.GetThread(i)); in RunThread()
119 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread() function in __sanitizer::SuspendedThreadsListMac
149 thread_t thread = GetThread(index); in GetRegistersAndSP()
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBExecutionContextExtensions.i6 …thread = property(GetThread, None, doc='''A read only property that returns the same result as Get…
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBExecutionContext.h52 SBThread GetThread() const;

123