Home
last modified time | relevance | path

Searched refs:GetThread (Results 1 – 25 of 73) 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()
134 static_cast<void *>(&GetThread()), m_tid, static_cast<uint64_t>(pc), in WillResume()
201 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ValidatePlan()
207 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ValidatePlan()
217 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ShouldStop()
223 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in ShouldStop()
233 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in WillStop()
239 LLVM_PRETTY_FUNCTION, m_tid, GetThread().GetProtocolID()); in WillStop()
[all …]
H A DThreadPlanTracer.cpp49 TargetSP target_sp(GetThread().CalculateTarget()); in GetLogStreamSP()
56 Thread &ThreadPlanTracer::GetThread() { in GetThread() function in ThreadPlanTracer
70 GetThread().GetStackFrameAtIndex(0)->Dump(stream_sp.get(), show_frame_index, in Log()
79 lldb::StopInfoSP stop_info = GetThread().GetStopInfo(); in TracerExplainsStop()
137 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log()
145 pc_addr.Dump(stream_sp.get(), &GetThread(), in Log()
200 if (abi->GetArgumentValues(GetThread(), value_list)) { in Log()
213 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log()
H A DThreadPlanShouldStopHere.cpp50 m_owner->GetThread().GetRegisterContext()->GetPC(0); in InvokeShouldStopHereCallback()
64 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultShouldStopHereCallback()
85 ProcessSP process_sp(current_plan->GetThread().GetProcess()); in DefaultShouldStopHereCallback()
124 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultStepFromHereCallback()
134 ProcessSP process_sp(current_plan->GetThread().GetProcess()); in DefaultStepFromHereCallback()
170 return_plan_sp = current_plan->GetThread().QueueThreadPlanForStepInRange( in DefaultStepFromHereCallback()
178 current_plan->GetThread().QueueThreadPlanForStepOutNoShouldStop( in DefaultStepFromHereCallback()
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 DThreadPlanStepInRange.cpp58 Thread &thread = GetThread(); in SetupAvoidNoDebug()
134 DumpAddress(s.AsRawOstream(), GetThread().GetRegisterContext()->GetPC(), in ShouldStop()
169 Thread &thread = GetThread(); in ShouldStop()
308 StackFrame *frame = GetThread().GetStackFrameAtIndex(0).get(); in FrameMatchesAvoidCriteria()
313 FileSpecList libraries_to_avoid(GetThread().GetLibrariesToAvoid()); in FrameMatchesAvoidCriteria()
334 avoid_regexp_to_use = GetThread().GetSymbolsToAvoidRegexp(); in FrameMatchesAvoidCriteria()
363 StackFrame *frame = current_plan->GetThread().GetStackFrameAtIndex(0).get(); in DefaultShouldStopHereCallback()
465 Thread &thread = GetThread(); in DoWillResume()
491 Thread &thread = GetThread(); in IsVirtualStep()
H A DThreadPlanStepOut.cpp126 GetThread(), nullptr, false, m_stop_others, eVoteNoOpinion, in SetupReturnAddress()
213 avoid_nodebug = GetThread().GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
223 Thread &thread = GetThread(); in DidPush()
340 GetThread().GetStackFrameAtIndex(0)->GetStackID(); in DoPlanExplainsStop()
409 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID(); in ShouldStop()
489 Thread &thread = GetThread(); in QueueInlinedStepPlan()
561 abi_sp->GetReturnValueObject(GetThread(), return_compiler_type); in CalculateReturnValue()
570 StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID(); in IsPlanStale()
H A DThreadPlanSingleThreadTimeout.cpp43 uint64_t timeout_in_ms = GetThread().GetSingleThreadPlanTimeout(); in GetRemainingTimeoutMilliSeconds()
162 uint64_t timeout_in_ms = self->GetThread().GetSingleThreadPlanTimeout(); in TimeoutThreadFunc()
217 lldb::StopInfoSP stop_info = GetThread().GetStopInfo(); in IsTimeoutAsyncInterrupt()
238 GetThread().GetCurrentPlan()->SetStopOthers(false); in HandleEvent()
256 m_process.SendAsyncInterrupt(&GetThread()); in HandleTimeout()
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()
138 lldb::addr_t pc_addr = GetThread().GetRegisterContext()->GetPC(); in MischiefManaged()
178 return GetThread().GetRegisterContext()->GetPC() != m_breakpoint_addr; in IsPlanStale()
H A DThreadPlanCallFunction.cpp156 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in ReportRegisterState()
177 Thread &thread = GetThread(); in DoTakedown()
387 GetThread().SetStopInfoToNothing(); in DidPush()
390 Thread &thread = GetThread(); in DidPush()
475 GetThread().RestoreThreadStateFromCheckpoint(m_stored_thread_state); in RestoreThreadState()
483 abi->GetReturnValueObject(GetThread(), m_return_type, persistent); in SetReturnValue()
H A DThreadPlanStepRange.cpp104 Thread &thread = GetThread(); in InRange()
198 lldb::addr_t cur_pc = GetThread().GetRegisterContext()->GetPC(); in InSymbol()
221 Thread &thread = GetThread(); in CompareCurrentFrameToStartFrame()
344 lldb::addr_t cur_addr = GetThread().GetRegisterContext()->GetPC(); in SetNextBranchBreakpoint()
436 GetThread().CalculateTarget()); in SetNextBranchBreakpoint()
551 lldb::addr_t addr = GetThread().GetRegisterContext()->GetPC() - 1; in IsPlanStale()
H A DThreadPlanStepInstruction.cpp40 Thread &thread = GetThread(); in SetUpState()
100 Thread &thread = GetThread(); in IsPlanStale()
129 Thread &thread = GetThread(); in ShouldStop()
H A DThreadPlanStepOverRange.cpp92 avoid_nodebug = GetThread().GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
141 Thread &thread = GetThread(); in ShouldStop()
397 Thread &thread = GetThread(); in DoWillResume()
H A DStopInfo.cpp620 GetThread()->ResetStopInfo(); in PerformAction()
736 GetThread().GetProcess()->DisableWatchpoint(m_watch_sp, false); in DoWillResume()
745 StopInfoSP stop_info_sp = GetThread().GetPrivateStopInfo(); in DoPlanExplainsStop()
765 GetThread().SetStopInfo(m_stop_info_sp); in ShouldStop()
780 GetThread().GetProcess()->EnableWatchpoint(m_watch_sp, true); in ResetWatchpoint()
1198 ThreadSP thread_sp = GetThread(); in GetSuggestedStackFrameIndex()
1306 : StopInfo(plan_sp->GetThread(), LLDB_INVALID_UID), m_plan_sp(plan_sp), in StopInfoThreadPlan()
1587 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 DInstrumentationRuntimeStopInfo.cpp48 ThreadSP thread_sp = GetThread(); in GetSuggestedStackFrameIndex()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleThreadPlanStepThroughObjCTrampoline.cpp60 m_trampoline_handler.SetupDispatchFunction(GetThread(), m_input_values); in InitializeFunctionCaller()
72 GetThread().CalculateExecutionContext(exc_ctx); in InitializeFunctionCaller()
138 GetThread().CalculateExecutionContext(exc_ctx); in ShouldStop()
144 if (ABISP abi_sp = GetThread().GetProcess()->GetABI()) { in ShouldStop()
160 SymbolContext sc = GetThread().GetStackFrameAtIndex(0)->GetSymbolContext( in ShouldStop()
166 m_run_to_sp = GetThread().QueueThreadPlanForStepOutNoShouldStop( 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() in ShouldStop()
[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()
337 thread_plan_sp->GetThread().QueueThreadPlanForStepSingleInstruction( in QueueThreadPlanForStepSingleInstruction()
371 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForRunToAddress( in QueueThreadPlanForRunToAddress()
402 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepScripted( in QueueThreadPlanForStepScripted()
426 SBThreadPlan(thread_plan_sp->GetThread().QueueThreadPlanForStepScripted( in QueueThreadPlanForStepScripted()
/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/lldb/include/lldb/Target/
H A DThreadPlan.h330 Thread &GetThread();
530 GetThread().PushPlan(thread_plan_sp); in PushPlan()
539 ThreadPlan *GetPreviousPlan() { return GetThread().GetPreviousPlan(this); } in GetPreviousPlan()
545 return GetThread().GetPrivateStopInfo(); in GetPrivateStopInfo()
549 GetThread().SetStopInfo(stop_reason_sp); in SetStopInfo()
H A DThreadPlanTracer.h53 Thread &GetThread();
/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.h53 SBThread GetThread() const;

123