Home
last modified time | relevance | path

Searched refs:m_thread (Results 1 – 25 of 45) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadPlan.cpp120 __FUNCTION__, m_thread.GetIndexID(), static_cast<void *>(&m_thread), in WillResume()
183 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); in ValidatePlan()
190 m_thread.GetProtocolID()); in ValidatePlan()
200 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); in ShouldStop()
207 m_thread.GetProtocolID()); in ShouldStop()
217 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); in WillStop()
224 m_thread.GetProtocolID()); in WillStop()
234 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); in DoPlanExplainsStop()
241 m_thread.GetProtocolID()); in DoPlanExplainsStop()
253 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); in MischiefManaged()
[all …]
H A DThreadPlanStepInstruction.cpp42 m_instruction_addr = m_thread.GetRegisterContext()->GetPC(0); in SetUpState()
43 StackFrameSP start_frame_sp(m_thread.GetStackFrameAtIndex(0)); in SetUpState()
49 StackFrameSP parent_frame_sp = m_thread.GetStackFrameAtIndex(1); in SetUpState()
104 uint64_t pc = m_thread.GetRegisterContext()->GetPC(0); in IsPlanStale()
105 uint32_t max_opcode_size = m_thread.CalculateTarget() in IsPlanStale()
131 StackFrameSP cur_frame_sp = m_thread.GetStackFrameAtIndex(0); in ShouldStop()
167 m_thread.GetFrameWithStackID(m_stack_id); in ShouldStop()
186 s.Address(stop_addr, m_thread.CalculateTarget() in ShouldStop()
191 s.Address(return_addr, m_thread.CalculateTarget() in ShouldStop()
200 m_thread.QueueThreadPlanForStepOutNoShouldStop( in ShouldStop()
[all …]
H A DThreadPlanStepOut.cpp51 m_step_from_insn = m_thread.GetRegisterContext()->GetPC(0); in ThreadPlanStepOut()
55 m_thread.GetStackFrameAtIndex(return_frame_index)); in ThreadPlanStepOut()
57 m_thread.GetStackFrameAtIndex(frame_idx)); in ThreadPlanStepOut()
129 Breakpoint *return_bp = m_thread.CalculateTarget() in ThreadPlanStepOut()
136 return_bp->SetThreadID(m_thread.GetID()); in ThreadPlanStepOut()
162 avoid_nodebug = m_thread.GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
173 m_thread.QueueThreadPlan(m_step_out_to_inline_plan_sp, false); in DidPush()
175 m_thread.QueueThreadPlan(m_step_through_inline_plan_sp, false); in DidPush()
180 m_thread.CalculateTarget()->RemoveBreakpointByID(m_return_bp_id); in ~ThreadPlanStepOut()
275 m_thread.GetProcess()->GetBreakpointSiteList().FindByID( in DoPlanExplainsStop()
[all …]
H A DThreadPlanBase.cpp42 ThreadPlanTracerSP new_tracer_sp(new ThreadPlanTracer(m_thread)); in ThreadPlanBase()
44 new_tracer_sp->EnableTracing(m_thread.GetTraceEnabledState()); in ThreadPlanBase()
64 StopInfoSP stop_info_sp = m_thread.GetStopInfo(); in ShouldReportStop()
102 m_thread.GetID()); in ShouldStop()
103 m_thread.DiscardThreadPlans(false); in ShouldStop()
132 m_thread.GetID(), stop_info_sp->GetDescription()); in ShouldStop()
133 m_thread.DiscardThreadPlans(false); in ShouldStop()
144 m_thread.GetID()); in ShouldStop()
145 m_thread.DiscardThreadPlans(false); in ShouldStop()
155 m_thread.GetID(), stop_info_sp->GetDescription()); in ShouldStop()
[all …]
H A DThreadPlanStepThrough.cpp51 StackFrameSP return_frame_sp = m_thread.GetFrameWithStackID(m_stack_id); in ThreadPlanStepThrough()
55 m_thread.CalculateTarget().get()); in ThreadPlanStepThrough()
57 m_thread.GetProcess() in ThreadPlanStepThrough()
65 return_bp->SetThreadID(m_thread.GetID()); in ThreadPlanStepThrough()
86 DynamicLoader *loader = m_thread.GetProcess()->GetDynamicLoader(); in LookForPlanToStepThroughFromCurrentPC()
89 loader->GetStepThroughTrampolinePlan(m_thread, m_stop_others); in LookForPlanToStepThroughFromCurrentPC()
94 m_thread.GetProcess()->GetObjCLanguageRuntime(); in LookForPlanToStepThroughFromCurrentPC()
100 m_thread.GetProcess()->GetCPPLanguageRuntime(); in LookForPlanToStepThroughFromCurrentPC()
106 cpp_runtime->GetStepThroughTrampolinePlan(m_thread, m_stop_others); in LookForPlanToStepThroughFromCurrentPC()
256 StopInfoSP stop_info_sp(m_thread.GetStopInfo()); in HitOurBackstopBreakpoint()
[all …]
H A DThreadPlanStepRange.cpp47 m_stack_id = m_thread.GetStackFrameAtIndex(0)->GetStackID(); in ThreadPlanStepRange()
48 StackFrameSP parent_stack = m_thread.GetStackFrameAtIndex(1); in ThreadPlanStepRange()
95 m_address_ranges[0].Dump(s, m_thread.CalculateTarget().get(), in DumpRanges()
115 pc_load_addr, m_thread.CalculateTarget().get()); in InRange()
122 StackFrame *frame = m_thread.GetStackFrameAtIndex(0).get(); in InRange()
195 lldb::addr_t cur_pc = m_thread.GetRegisterContext()->GetPC(); in InSymbol()
198 cur_pc, m_thread.CalculateTarget().get()); in InSymbol()
253 ExecutionContext exe_ctx(m_thread.GetProcess()); in GetInstructionsForAddress()
362 &m_thread.GetProcess()->GetTarget())); in SetNextBranchBreakpoint()
365 m_next_branch_bp_sp->SetThreadID(m_thread.GetID()); in SetNextBranchBreakpoint()
[all …]
H A DThreadPlanStepOverRange.cpp91 avoid_nodebug = m_thread.GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
135 m_thread.GetRegisterContext()->GetPC(), in ShouldStop()
167 StackFrameSP older_frame_sp = m_thread.GetStackFrameAtIndex(i); in ShouldStop()
177 new_plan_sp = m_thread.QueueThreadPlanForStepOutNoShouldStop( in ShouldStop()
182 new_plan_sp = m_thread.QueueThreadPlanForStepThrough( in ShouldStop()
202 new_plan_sp = m_thread.QueueThreadPlanForStepThrough( in ShouldStop()
218 StackFrameSP frame_sp = m_thread.GetStackFrameAtIndex(0); in ShouldStop()
374 bool in_inlined_stack = m_thread.DecrementCurrentInlinedDepth(); in DoWillResume()
380 m_thread.GetCurrentInlinedDepth()); in DoWillResume()
381 StackFrameSP stack_sp = m_thread.GetStackFrameAtIndex(0); in DoWillResume()
[all …]
H A DThreadPlanTracer.cpp38 : m_thread(thread), m_single_step(true), m_enabled(false), in ThreadPlanTracer()
48 TargetSP target_sp(m_thread.CalculateTarget()); in GetLogStream()
62 m_thread.GetStackFrameAtIndex(0)->Dump(stream, show_frame_index, in Log()
71 lldb::StopInfoSP stop_info = m_thread.GetStopInfo(); in TracerExplainsStop()
97 TargetSP target_sp(m_thread.CalculateTarget()); in GetIntPointerType()
114 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in TracingStarted()
128 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in Log()
131 ProcessSP process_sp(m_thread.GetProcess()); in Log()
138 pc_addr.Dump(stream, &m_thread, Address::DumpStyleResolvedDescription, in Log()
170 m_thread.GetProcess() in Log()
[all …]
H A DThreadPlanStepOverBreakpoint.cpp36 m_breakpoint_addr = m_thread.GetRegisterContext()->GetPC(); in ThreadPlanStepOverBreakpoint()
38 m_thread.GetProcess()->GetBreakpointSiteList().FindIDByAddress( in ThreadPlanStepOverBreakpoint()
94 lldb::addr_t pc_addr = m_thread.GetRegisterContext()->GetPC(); in DoPlanExplainsStop()
127 m_thread.GetProcess()->GetBreakpointSiteList().FindByAddress( in DoWillResume()
130 m_thread.GetProcess()->DisableBreakpointSite(bp_site_sp.get()); in DoWillResume()
147 lldb::addr_t pc_addr = m_thread.GetRegisterContext()->GetPC(); in MischiefManaged()
169 m_thread.GetProcess()->GetBreakpointSiteList().FindByAddress( in ReenableBreakpointSite()
172 m_thread.GetProcess()->EnableBreakpointSite(bp_site_sp.get()); in ReenableBreakpointSite()
189 return m_thread.GetRegisterContext()->GetPC() != m_breakpoint_addr; in IsPlanStale()
H A DThreadPlanStepInRange.cpp84 avoid_nodebug = m_thread.GetStepInAvoidsNoDebug(); in SetupAvoidNoDebug()
100 avoid_nodebug = m_thread.GetStepOutAvoidsNoDebug(); in SetupAvoidNoDebug()
152 m_thread.GetRegisterContext()->GetPC(), in ShouldStop()
195 m_sub_plan_sp = m_thread.QueueThreadPlanForStepThrough( in ShouldStop()
238 m_sub_plan_sp = m_thread.QueueThreadPlanForStepThrough( in ShouldStop()
271 m_thread.CalculateTarget().get())) in ShouldStop()
277 m_thread.CalculateTarget().get())) in ShouldStop()
282 TargetSP target = m_thread.CalculateTarget(); in ShouldStop()
298 m_sub_plan_sp = m_thread.QueueThreadPlanForRunToAddress( in ShouldStop()
505 m_thread.GetCurrentInlinedDepth()); in DoWillResume()
[all …]
H A DRegisterContext.cpp28 : m_thread(thread), m_concrete_frame_idx(concrete_frame_idx), in RegisterContext()
34 ProcessSP process_sp(m_thread.GetProcess()); in InvalidateIfNeeded()
130 TargetSP target_sp = m_thread.CalculateTarget(); in GetPC()
151 m_thread.ClearStackFrames(); in SetPC()
157 TargetSP target_sp = m_thread.CalculateTarget(); in SetPC()
334 ProcessSP process_sp(m_thread.GetProcess()); in ReadRegisterValueFromMemory()
372 ProcessSP process_sp(m_thread.GetProcess()); in WriteRegisterValueToMemory()
414 return m_thread.CalculateTarget(); in CalculateTarget()
418 return m_thread.CalculateProcess(); in CalculateProcess()
422 return m_thread.shared_from_this(); in CalculateThread()
[all …]
H A DThreadPlanCallFunction.cpp176 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); in ReportRegisterState()
214 static_cast<void *>(this), m_thread.GetID(), m_valid, in DoTakedown()
218 m_thread.GetStackFrameAtIndex(0)->GetRegisterContext()->GetPC(); in DoTakedown()
220 if (!m_thread.RestoreRegisterStateFromCheckpoint(m_stored_thread_state)) { in DoTakedown()
235 static_cast<void *>(this), m_thread.GetID(), m_valid, in DoTakedown()
246 TargetSP target_sp(m_thread.CalculateTarget()); in GetDescription()
315 ProcessSP process_sp(m_thread.CalculateProcess()); in DoPlanExplainsStop()
411 m_thread.QueueThreadPlan(m_subplan_sp, false); in DidPush()
434 ProcessSP process_sp(m_thread.CalculateProcess()); in SetBreakpoints()
499 ProcessSP process_sp(m_thread.GetProcess()); in SetReturnValue()
[all …]
H A DThreadPlanRunToAddress.cpp31 address.GetOpcodeLoadAddress(m_thread.CalculateTarget().get())); in ThreadPlanRunToAddress()
42 m_thread.CalculateTarget()->GetOpcodeLoadAddress(address)); in ThreadPlanRunToAddress()
68 breakpoint = m_thread.CalculateTarget() in SetInitialBreakpoints()
75 breakpoint->SetThreadID(m_thread.GetID()); in SetInitialBreakpoints()
84 m_thread.CalculateTarget()->RemoveBreakpointByID(m_break_ids[i]); in ~ThreadPlanRunToAddress()
125 m_thread.CalculateTarget()->GetBreakpointByID(m_break_ids[i]).get(); in GetDescription()
184 m_thread.CalculateTarget()->RemoveBreakpointByID(m_break_ids[i]); in MischiefManaged()
197 lldb::addr_t current_address = m_thread.GetRegisterContext()->GetPC(); in AtOurAddress()
H A DStackFrameList.cpp65 lldb::addr_t cur_pc = m_thread.GetRegisterContext()->GetPC(); in GetCurrentInlinedDepth()
110 lldb::addr_t curr_pc = m_thread.GetRegisterContext()->GetPC(); in ResetCurrentInlinedDepth()
126 StopInfoSP stop_info_sp = m_thread.GetStopInfo(); in ResetCurrentInlinedDepth()
215 m_current_inlined_pc = m_thread.GetRegisterContext()->GetPC(); in SetCurrentInlinedDepth()
220 assert(m_thread.IsValid() && "Expected valid thread"); in GetOnlyConcreteFramesUpTo()
414 if (!m_thread.IsValid()) in GetFramesUpTo()
422 Unwind *unwinder = m_thread.GetUnwinder(); in GetFramesUpTo()
505 TargetSP target_sp = m_thread.CalculateTarget(); in GetFramesUpTo()
662 Unwind *unwinder = m_thread.GetUnwinder(); in GetFrameAtIndex()
801 if (m_thread.GetID() == in SetDefaultFileAndLineToSelectedFrame()
[all …]
H A DThreadPlanStepUntil.cpp40 TargetSP target_sp(m_thread.CalculateTarget()); in ThreadPlanStepUntil()
42 StackFrameSP frame_sp(m_thread.GetStackFrameAtIndex(frame_idx)); in ThreadPlanStepUntil()
45 lldb::user_id_t thread_id = m_thread.GetID(); in ThreadPlanStepUntil()
50 StackFrameSP return_frame_sp(m_thread.GetStackFrameAtIndex(frame_idx + 1)); in ThreadPlanStepUntil()
86 TargetSP target_sp(m_thread.CalculateTarget()); in Clear()
164 m_thread.GetProcess()->GetBreakpointSiteList().FindByID( in AnalyzeStop()
205 m_thread.GetStackFrameAtIndex(0)->GetStackID(); in AnalyzeStop()
212 StackFrameSP older_frame_sp = m_thread.GetStackFrameAtIndex(1); in AnalyzeStop()
286 TargetSP target_sp(m_thread.CalculateTarget()); in DoWillResume()
310 TargetSP target_sp(m_thread.CalculateTarget()); in WillStop()
H A DThreadPlanPython.cpp63 ScriptInterpreter *script_interp = m_thread.GetProcess() in DidPush()
83 ScriptInterpreter *script_interp = m_thread.GetProcess() in ShouldStop()
107 ScriptInterpreter *script_interp = m_thread.GetProcess() in IsPlanStale()
131 ScriptInterpreter *script_interp = m_thread.GetProcess() in DoPlanExplainsStop()
170 ScriptInterpreter *script_interp = m_thread.GetProcess() in GetPlanRunState()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DHostNativeThreadBase.cpp22 : m_thread(LLDB_INVALID_HOST_THREAD), m_result(0) {} in HostNativeThreadBase()
25 : m_thread(thread), m_result(0) {} in HostNativeThreadBase()
28 return m_thread; in GetSystemHandle()
36 return m_thread != LLDB_INVALID_HOST_THREAD; in IsJoinable()
40 m_thread = LLDB_INVALID_HOST_THREAD; in Reset()
45 return m_thread == thread; in EqualsThread()
49 lldb::thread_t result = m_thread; in Release()
50 m_thread = LLDB_INVALID_HOST_THREAD; in Release()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleThreadPlanStepThroughObjCTrampoline.cpp53 m_thread.GetProcess()->AddPreResumeAction(PreResumeInitializeFunctionCaller, in DidPush()
61 m_trampoline_handler->SetupDispatchFunction(m_thread, m_input_values); in InitializeFunctionCaller()
73 m_thread.CalculateExecutionContext(exc_ctx); in InitializeFunctionCaller()
77 m_thread.QueueThreadPlan(m_func_sp, false); in InitializeFunctionCaller()
137 m_thread.CalculateExecutionContext(exc_ctx); in ShouldStop()
158 SymbolContext sc = m_thread.GetStackFrameAtIndex(0)->GetSymbolContext( in ShouldStop()
164 m_run_to_sp = m_thread.QueueThreadPlanForStepOutNoShouldStop( in ShouldStop()
188 new ThreadPlanRunToAddress(m_thread, target_so_addr, m_stop_others)); in ShouldStop()
189 m_thread.QueueThreadPlan(m_run_to_sp, false); in ShouldStop()
192 } else if (m_thread.IsThreadPlanDone(m_run_to_sp.get())) { in ShouldStop()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DThreadPlan.h381 Thread &GetThread() { return m_thread; } in GetThread()
383 const Thread &GetThread() const { return m_thread; } in GetThread()
385 Target &GetTarget() { return m_thread.GetProcess()->GetTarget(); } in GetTarget()
387 const Target &GetTarget() const { return m_thread.GetProcess()->GetTarget(); } in GetTarget()
478 m_thread.PushPlan(thread_plan_sp); in PushPlan()
509 virtual lldb::StopInfoSP GetRealStopInfo() { return m_thread.GetStopInfo(); } in GetRealStopInfo()
574 ThreadPlan *GetPreviousPlan() { return m_thread.GetPreviousPlan(this); } in GetPreviousPlan()
580 return m_thread.GetPrivateStopInfo(); in GetPrivateStopInfo()
584 m_thread.SetStopInfo(stop_reason_sp); in SetStopInfo()
600 Thread &m_thread; variable
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/
H A DNativeRegisterContextNetBSD.cpp78 m_thread.GetID()); in DoReadGPR()
83 m_thread.GetID()); in DoWriteGPR()
88 m_thread.GetID()); in DoReadFPR()
93 m_thread.GetID()); in DoWriteFPR()
98 m_thread.GetID()); in DoReadDBR()
103 m_thread.GetID()); in DoWriteDBR()
107 return static_cast<NativeProcessNetBSD &>(m_thread.GetProcess()); in GetProcess()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterContextLLDB.cpp54 : RegisterContext(thread, frame_number), m_thread(thread), in RegisterContextLLDB()
112 ExecutionContext exe_ctx(m_thread.shared_from_this()); in InitializeZerothFrame()
288 if (!m_thread.GetRegisterContext()) { in InitializeNonZerothFrame()
302 ExecutionContext exe_ctx(m_thread.shared_from_this()); in InitializeNonZerothFrame()
580 &m_thread, in InitializeNonZerothFrame()
685 *m_thread.CalculateTarget(), m_thread); in GetFastUnwindPlanForFrame()
716 ExecutionContext exe_ctx(m_thread.shared_from_this()); in GetFullUnwindPlanForFrame()
950 m_thread); in GetFullUnwindPlanForFrame()
1753 RegisterNumber cfa_reg(m_thread, row_register_kind, in ReadFrameAddress()
1781 RegisterNumber cfa_reg(m_thread, row_register_kind, in ReadFrameAddress()
[all …]
H A DRegisterContextMacOSXFrameBackchain.cpp42 return m_thread.GetRegisterContext()->GetRegisterCount(); in GetRegisterCount()
47 return m_thread.GetRegisterContext()->GetRegisterInfoAtIndex(reg); in GetRegisterInfoAtIndex()
51 return m_thread.GetRegisterContext()->GetRegisterSetCount(); in GetRegisterSetCount()
56 return m_thread.GetRegisterContext()->GetRegisterSet(reg_set); in GetRegisterSet()
157 return m_thread.GetRegisterContext()->WriteAllRegisterValues(data_sp); in WriteAllRegisterValues()
163 return m_thread.GetRegisterContext()->ConvertRegisterKindToRegisterNumber( in ConvertRegisterKindToRegisterNumber()
H A DUnwindLLDB.cpp53 ProcessSP process_sp(m_thread.GetProcess()); in DoGetFrameCount()
76 ProcessSP process_sp(m_thread.GetProcess()); in AddFirstFrame()
82 m_thread, RegisterContextLLDBSP(), first_cursor_sp->sctx, 0, *this)); in AddFirstFrame()
109 m_thread.GetIndexID()); in AddFirstFrame()
131 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
133 uint64_t max_stack_depth = m_thread.GetMaxBacktraceDepth(); in GetOneMoreFrame()
293 m_thread.GetIndexID()); in GetOneMoreFrame()
343 m_thread.GetIndexID()); in AddOneMoreFrame()
405 ProcessSP process_sp(m_thread.GetProcess()); in DoGetFrameInfoAtIndex()
425 return m_thread.GetRegisterContext(); in DoCreateRegisterContextForFrame()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMIUtilThreadBaseStd.cpp38 m_thread.Join(); in ~CMIUtilThreadActiveObjBase()
52 return m_thread.IsActive(); in ThreadIsActive()
66 return m_thread.Start(ThreadEntry, this); in ThreadExecute()
135 bool CMIUtilThreadActiveObjBase::ThreadJoin() { return m_thread.Join(); } in ThreadJoin()
197 m_thread.Finish(); in ThreadManage()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DRegisterContextPOSIXProcessMonitor_arm.cpp37 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_arm, GetGPRSize()); in ReadGPR()
42 return monitor.ReadFPR(m_thread.GetID(), &m_fpr, sizeof(m_fpr)); in ReadFPR()
47 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_arm, GetGPRSize()); in WriteGPR()
52 return monitor.WriteFPR(m_thread.GetID(), &m_fpr, sizeof(m_fpr)); in WriteFPR()
58 return monitor.ReadRegisterValue(m_thread.GetID(), GetRegisterOffset(reg), in ReadRegister()
105 m_thread.GetID(), GetRegisterOffset(reg_to_write), in WriteRegister()

12