/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | HostNativeThreadBase.cpp | 21 : m_thread(LLDB_INVALID_HOST_THREAD), m_result(0) {} 24 : m_thread(thread), m_result(0) {} 27 return m_thread; 35 return m_thread != LLDB_INVALID_HOST_THREAD; 39 m_thread = LLDB_INVALID_HOST_THREAD; 44 return m_thread == thread; 48 lldb::thread_t result = m_thread; 49 m_thread = LLDB_INVALID_HOST_THREAD;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadPlan.cpp | 24 : m_thread(thread), m_stop_vote(stop_vote), m_run_vote(run_vote), 106 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); 116 __FUNCTION__, m_thread.GetIndexID(), static_cast<void *>(&m_thread), 117 m_thread.GetID(), static_cast<uint64_t>(pc), 177 LLVM_PRETTY_FUNCTION, m_thread.GetID(), m_thread.GetProtocolID()); 183 LLVM_PRETTY_FUNCTION, m_thread.GetID(), 184 m_thread.GetProtocolID()); 194 LLVM_PRETTY_FUNCTION, m_thread [all...] |
H A D | ThreadPlanBase.cpp | 37 ThreadPlanTracerSP new_tracer_sp(new ThreadPlanAssemblyTracer(m_thread)); 39 ThreadPlanTracerSP new_tracer_sp(new ThreadPlanTracer(m_thread)); 41 new_tracer_sp->EnableTracing(m_thread.GetTraceEnabledState()); 61 StopInfoSP stop_info_sp = m_thread.GetStopInfo(); 99 m_thread.GetID()); 100 m_thread.DiscardThreadPlans(false); 129 m_thread.GetID(), stop_info_sp->GetDescription()); 130 m_thread.DiscardThreadPlans(false); 141 m_thread.GetID()); 142 m_thread [all...] |
H A D | ThreadPlanStepInstruction.cpp | 39 m_instruction_addr = m_thread.GetRegisterContext()->GetPC(0); 40 StackFrameSP start_frame_sp(m_thread.GetStackFrameAtIndex(0)); 46 StackFrameSP parent_frame_sp = m_thread.GetStackFrameAtIndex(1); 98 StackID cur_frame_id = m_thread.GetStackFrameAtIndex(0)->GetStackID(); 101 uint64_t pc = m_thread.GetRegisterContext()->GetPC(0); 102 uint32_t max_opcode_size = m_thread.CalculateTarget() 109 return (m_thread.GetRegisterContext()->GetPC(0) != m_instruction_addr); 129 StackFrameSP cur_frame_sp = m_thread.GetStackFrameAtIndex(0); 141 if (m_thread.GetRegisterContext()->GetPC(0) != m_instruction_addr) { 155 StackFrame *return_frame = m_thread [all...] |
H A D | ThreadPlanStepOverBreakpoint.cpp | 33 m_breakpoint_addr = m_thread.GetRegisterContext()->GetPC(); 35 m_thread.GetProcess()->GetBreakpointSiteList().FindIDByAddress( 89 lldb::addr_t pc_addr = m_thread.GetRegisterContext()->GetPC(); 123 m_thread.GetProcess()->GetBreakpointSiteList().FindByAddress( 126 m_thread.GetProcess()->DisableBreakpointSite(bp_site_sp.get()); 143 lldb::addr_t pc_addr = m_thread.GetRegisterContext()->GetPC(); 164 m_thread.GetProcess()->GetBreakpointSiteList().FindByAddress( 167 m_thread.GetProcess()->EnableBreakpointSite(bp_site_sp.get()); 184 return m_thread.GetRegisterContext()->GetPC() != m_breakpoint_addr;
|
H A D | ThreadPlanStepThrough.cpp | 47 StackFrameSP return_frame_sp = m_thread.GetFrameWithStackID(m_stack_id); 51 m_thread.CalculateTarget().get()); 53 m_thread.GetProcess() 61 return_bp->SetThreadID(m_thread.GetID()); 82 DynamicLoader *loader = m_thread.GetProcess()->GetDynamicLoader(); 85 loader->GetStepThroughTrampolinePlan(m_thread, m_stop_others); 91 m_thread.GetProcess()->GetLanguageRuntimes()) { 93 runtime->GetStepThroughTrampolinePlan(m_thread, m_stop_others); 226 m_thread.GetProcess()->GetTarget().RemoveBreakpointByID(m_backstop_bkpt_id); 247 StopInfoSP stop_info_sp(m_thread [all...] |
H A D | ThreadPlanStepOverRange.cpp | 88 avoid_nodebug = m_thread.GetStepOutAvoidsNoDebug(); 132 s.AsRawOstream(), m_thread.GetRegisterContext()->GetPC(), 133 m_thread.CalculateTarget()->GetArchitecture().GetAddressByteSize()); 154 new_plan_sp = m_thread.QueueThreadPlanForStepThrough(m_stack_id, false, 164 StackFrameSP older_frame_sp = m_thread.GetStackFrameAtIndex(i); 174 new_plan_sp = m_thread.QueueThreadPlanForStepOutNoShouldStop( 179 new_plan_sp = m_thread.QueueThreadPlanForStepThrough( 199 new_plan_sp = m_thread.QueueThreadPlanForStepThrough( 215 StackFrameSP frame_sp = m_thread.GetStackFrameAtIndex(0); 281 lldb::addr_t cur_pc = m_thread [all...] |
H A D | ThreadPlanStepOut.cpp | 50 m_step_from_insn = m_thread.GetRegisterContext()->GetPC(0); 54 m_thread.GetStackFrameAtIndex(return_frame_index)); 56 m_thread.GetStackFrameAtIndex(frame_idx)); 66 return_frame_sp = m_thread.GetStackFrameAtIndex(return_frame_index); 88 m_thread, nullptr, false, stop_others, eVoteNoOpinion, eVoteNoOpinion, 118 m_thread.GetProcess()->AdvanceAddressToNextBranchInstruction( 124 return_address.GetLoadAddress(&m_thread.GetProcess()->GetTarget()); 131 if (!m_thread.GetProcess()->GetLoadAddressPermissions(m_return_addr, 148 Breakpoint *return_bp = m_thread.CalculateTarget() 155 return_bp->SetThreadID(m_thread [all...] |
H A D | ThreadPlanTracer.cpp | 37 : m_thread(thread), m_single_step(true), m_enabled(false), 41 : m_thread(thread), m_single_step(true), m_enabled(false), m_stream_sp() {} 47 TargetSP target_sp(m_thread.CalculateTarget()); 61 m_thread.GetStackFrameAtIndex(0)->Dump(stream, show_frame_index, 70 lldb::StopInfoSP stop_info = m_thread.GetStopInfo(); 90 m_thread.GetProcess()->GetTarget().GetArchitecture(), nullptr, nullptr); 96 if (auto target_sp = m_thread.CalculateTarget()) { 128 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); 131 ProcessSP process_sp(m_thread.GetProcess()); 138 pc_addr.Dump(stream, &m_thread, Addres [all...] |
H A D | ThreadPlanStepRange.cpp | 44 m_stack_id = m_thread.GetStackFrameAtIndex(0)->GetStackID(); 45 StackFrameSP parent_stack = m_thread.GetStackFrameAtIndex(1); 91 m_address_ranges[0].Dump(s, m_thread.CalculateTarget().get(), 96 m_address_ranges[i].Dump(s, m_thread.CalculateTarget().get(), 106 lldb::addr_t pc_load_addr = m_thread.GetRegisterContext()->GetPC(); 111 pc_load_addr, m_thread.CalculateTarget().get()); 118 StackFrame *frame = m_thread.GetStackFrameAtIndex(0).get(); 135 m_addr_context.line_entry.Dump(&s, m_thread.CalculateTarget().get(), 154 m_addr_context.line_entry.Dump(&s, m_thread.CalculateTarget().get(), 164 m_thread [all...] |
H A D | ThreadPlanCallFunctionUsingABI.cpp | 52 TargetSP target_sp(m_thread.CalculateTarget()); 59 ProcessSP process_sp(m_thread.GetProcess()); 66 abi->GetReturnValueObject(m_thread, m_return_type, persistent);
|
H A D | ThreadPlanStepInRange.cpp | 81 avoid_nodebug = m_thread.GetStepInAvoidsNoDebug(); 97 avoid_nodebug = m_thread.GetStepOutAvoidsNoDebug(); 149 s.AsRawOstream(), m_thread.GetRegisterContext()->GetPC(), 150 m_thread.CalculateTarget()->GetArchitecture().GetAddressByteSize()); 192 m_sub_plan_sp = m_thread.QueueThreadPlanForStepThrough( 236 m_sub_plan_sp = m_thread.QueueThreadPlanForStepThrough( 257 lldb::StackFrameSP curr_frame = m_thread.GetStackFrameAtIndex(0); 260 lldb::addr_t curr_addr = m_thread.GetRegisterContext()->GetPC(); 270 m_thread.CalculateTarget().get())) 276 m_thread [all...] |
H A D | ThreadPlanStepUntil.cpp | 37 TargetSP target_sp(m_thread.CalculateTarget()); 39 StackFrameSP frame_sp(m_thread.GetStackFrameAtIndex(frame_idx)); 42 lldb::user_id_t thread_id = m_thread.GetID(); 47 StackFrameSP return_frame_sp(m_thread.GetStackFrameAtIndex(frame_idx + 1)); 83 TargetSP target_sp(m_thread.CalculateTarget()); 161 m_thread.GetProcess()->GetBreakpointSiteList().FindByID( 202 m_thread.GetStackFrameAtIndex(0)->GetStackID(); 209 StackFrameSP older_frame_sp = m_thread.GetStackFrameAtIndex(1); 283 TargetSP target_sp(m_thread.CalculateTarget()); 307 TargetSP target_sp(m_thread [all...] |
H A D | ThreadPlanCallFunction.cpp | 149 RegisterContext *reg_ctx = m_thread.GetRegisterContext().get(); 187 static_cast<void *>(this), m_thread.GetID(), m_valid, 191 m_thread.GetStackFrameAtIndex(0)->GetRegisterContext()->GetPC(); 193 if (!m_thread.RestoreRegisterStateFromCheckpoint(m_stored_thread_state)) { 208 static_cast<void *>(this), m_thread.GetID(), m_valid, 219 TargetSP target_sp(m_thread.CalculateTarget()); 286 ProcessSP process_sp(m_thread.CalculateProcess()); 378 m_thread, m_start_addr, m_stop_other_threads); 380 m_thread.QueueThreadPlan(m_subplan_sp, false); 402 ProcessSP process_sp(m_thread [all...] |
H A D | ThreadPlanRunToAddress.cpp | 28 address.GetOpcodeLoadAddress(m_thread.CalculateTarget().get())); 39 m_thread.CalculateTarget()->GetOpcodeLoadAddress(address)); 65 breakpoint = m_thread.CalculateTarget() 72 breakpoint->SetThreadID(m_thread.GetID()); 81 m_thread.CalculateTarget()->RemoveBreakpointByID(m_break_ids[i]); 122 m_thread.CalculateTarget()->GetBreakpointByID(m_break_ids[i]).get(); 181 m_thread.CalculateTarget()->RemoveBreakpointByID(m_break_ids[i]); 193 lldb::addr_t current_address = m_thread.GetRegisterContext()->GetPC();
|
H A D | RegisterContext.cpp | 27 : m_thread(thread), m_concrete_frame_idx(concrete_frame_idx), 33 ProcessSP process_sp(m_thread.GetProcess()); 127 TargetSP target_sp = m_thread.CalculateTarget(); 144 m_thread.GetFrameWithConcreteFrameIndex(m_concrete_frame_idx)); 148 m_thread.ClearStackFrames(); 154 TargetSP target_sp = m_thread.CalculateTarget(); 243 RegisterContextSP frame_zero_context = m_thread.GetRegisterContext(); 268 lldb::tid_t RegisterContext::GetThreadID() const { return m_thread.GetID(); } 331 ProcessSP process_sp(m_thread.GetProcess()); 369 ProcessSP process_sp(m_thread [all...] |
H A D | ThreadPlanPython.cpp | 63 ScriptInterpreter *script_interp = m_thread.GetProcess() 82 ScriptInterpreter *script_interp = m_thread.GetProcess() 104 ScriptInterpreter *script_interp = m_thread.GetProcess() 126 ScriptInterpreter *script_interp = m_thread.GetProcess() 162 ScriptInterpreter *script_interp = m_thread.GetProcess()
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeRegisterContextNetBSD.cpp | 31 m_thread.GetID()); 35 return static_cast<NativeProcessNetBSD &>(m_thread.GetProcess());
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | HostThreadPosix.cpp | 28 int err = ::pthread_join(m_thread, result); 46 int err = ::pthread_cancel(m_thread); 56 int err = ::pthread_detach(m_thread);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleThreadPlanStepThroughObjCTrampoline.cpp | 51 m_thread.GetProcess()->AddPreResumeAction(PreResumeInitializeFunctionCaller, 59 m_trampoline_handler->SetupDispatchFunction(m_thread, m_input_values); 71 m_thread.CalculateExecutionContext(exc_ctx); 75 m_thread.QueueThreadPlan(m_func_sp, false); 135 m_thread.CalculateExecutionContext(exc_ctx); 154 SymbolContext sc = m_thread.GetStackFrameAtIndex(0)->GetSymbolContext( 160 m_run_to_sp = m_thread.QueueThreadPlanForStepOutNoShouldStop( 183 m_thread, target_so_addr, m_stop_others); 184 m_thread.QueueThreadPlan(m_run_to_sp, false); 187 } else if (m_thread [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextMacOSXFrameBackchain.cpp | 37 return m_thread.GetRegisterContext()->GetRegisterCount(); 42 return m_thread.GetRegisterContext()->GetRegisterInfoAtIndex(reg); 46 return m_thread.GetRegisterContext()->GetRegisterSetCount(); 51 return m_thread.GetRegisterContext()->GetRegisterSet(reg_set); 152 return m_thread.GetRegisterContext()->WriteAllRegisterValues(data_sp); 158 return m_thread.GetRegisterContext()->ConvertRegisterKindToRegisterNumber(
|
H A D | UnwindLLDB.cpp | 52 ProcessSP process_sp(m_thread.GetProcess()); 75 ProcessSP process_sp(m_thread.GetProcess()); 81 m_thread, RegisterContextLLDBSP(), first_cursor_sp->sctx, 0, *this)); 108 m_thread.GetIndexID()); 130 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); 132 uint64_t max_stack_depth = m_thread.GetMaxBacktraceDepth(); 288 m_thread.GetIndexID()); 337 m_thread.GetIndexID()); 400 ProcessSP process_sp(m_thread.GetProcess()); 438 return m_thread [all...] |
H A D | RegisterContextLLDB.cpp | 57 : RegisterContext(thread, frame_number), m_thread(thread), 115 ExecutionContext exe_ctx(m_thread.shared_from_this()); 116 RegisterContextSP reg_ctx_sp = m_thread.GetRegisterContext(); 213 active_row->Dump(active_row_strm, m_full_unwind_plan_sp.get(), &m_thread, 240 process->GetTarget(), m_thread); 280 if (!m_thread.GetRegisterContext()) { 294 ExecutionContext exe_ctx(m_thread.shared_from_this()); 540 active_row->Dump(active_row_strm, m_fast_unwind_plan_sp.get(), &m_thread, 554 &m_thread, 658 *m_thread [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Unwind.h | 21 Unwind(Thread &thread) : m_thread(thread), m_unwind_mutex() {} 61 Thread &GetThread() { return m_thread; } 76 Thread &m_thread; member in class:lldb_private::Unwind
|
H A D | ThreadPlan.h | 372 Thread &GetThread() { return m_thread; } 374 const Thread &GetThread() const { return m_thread; } 376 Target &GetTarget() { return m_thread.GetProcess()->GetTarget(); } 378 const Target &GetTarget() const { return m_thread.GetProcess()->GetTarget(); } 465 m_thread.PushPlan(thread_plan_sp); 496 virtual lldb::StopInfoSP GetRealStopInfo() { return m_thread.GetStopInfo(); } 559 ThreadPlan *GetPreviousPlan() { return m_thread.GetPreviousPlan(this); } 565 return m_thread.GetPrivateStopInfo(); 569 m_thread.SetStopInfo(stop_reason_sp); 585 Thread &m_thread; member in class:lldb_private::ThreadPlan [all...] |