Home
last modified time | relevance | path

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

1234

/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() in WillStop()
[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()
137 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()
168 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()
490 Thread &thread = GetThread();
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 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 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;
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()
198 lldb::addr_t cur_pc = GetThread().GetRegisterContext()->GetPC(); in InSymbol()
219 Thread &thread = GetThread(); in CompareCurrentFrameToStartFrame()
342 lldb::addr_t cur_addr = GetThread().GetRegisterContext()->GetPC(); in SetNextBranchBreakpoint()
434 GetThread().CalculateTarget());
549 lldb::addr_t addr = GetThread().GetRegisterContext()->GetPC() - 1;
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.cpp616 GetThread()->ResetStopInfo();
732 GetThread().GetProcess()->DisableWatchpoint(m_watch_sp, false); in DoPlanExplainsStop()
741 StopInfoSP stop_info_sp = GetThread().GetPrivateStopInfo(); in ShouldStop()
761 GetThread().SetStopInfo(m_stop_info_sp);
776 GetThread().GetProcess()->EnableWatchpoint(m_watch_sp, true); in ShouldStopSynchronous()
1193 ThreadSP thread_sp = GetThread();
1278 : StopInfo(plan_sp->GetThread(), LLDB_INVALID_UID), m_plan_sp(plan_sp), in ShouldStop()
1552 ThreadSP thread_sp = stop_info_sp->GetThread();
/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().IsThreadPlanDone(m_run_to_sp.get())) { in ShouldStop()
[all …]
/llvm-project/lldb/examples/python/
H A Dscripted_step.py106 self.start_address = thread_plan.GetThread().GetFrameAtIndex(0).GetPC()
111 if self.thread_plan.GetThread().GetStopReason() == lldb.eStopReasonTrace:
117 cur_pc = self.thread_plan.GetThread().GetFrameAtIndex(0).GetPC()
135 self.start_address = thread_plan.GetThread().GetFrameAtIndex(0).GetPCAddress()
167 self.start_frame = thread_plan.GetThread().GetFrameAtIndex(0)
171 cur_frame = self.thread_plan.GetThread().GetFrameAtIndex(0)
189 frame = self.thread_plan.GetThread().GetFrameAtIndex(0)
232 self.thread = self.thread_plan.GetThread()
H A Din_call_stack.py13 thread = frame.GetThread()
/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()
/llvm-project/lldb/test/API/commands/frame/recognizer/
H A Drecognizer.py12 frame.GetThread()
18 frame.GetThread()
27 frame.GetThread()
/llvm-project/lldb/include/lldb/Target/
H A DThreadPlan.h321 Thread &GetThread();
334 /// \a thread. Don't expect that the result of GetThread is valid in
517 GetThread().PushPlan(thread_plan_sp); in GetPrivateStopInfo()
526 ThreadPlan *GetPreviousPlan() { return GetThread().GetPreviousPlan(this); }
532 return GetThread().GetPrivateStopInfo();
536 GetThread().SetStopInfo(stop_reason_sp);
560 // but ThreadPlan::GetThread().
/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()
/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()
/llvm-project/lldb/test/API/functionalities/step_scripted/
H A DSteps.py52 self.frame = thread_plan.GetThread().frames[0]
53 self.target = thread_plan.GetThread().GetProcess().GetTarget()
/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…
/llvm-project/lldb/test/API/functionalities/conditional_break/
H A Dconditional_break.py5 thread = frame.GetThread()
/llvm-project/lldb/test/API/functionalities/thread_plan/
H A Dwrap_step_over.py7 thread = thread_plan.GetThread()

1234