/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | HostNativeThreadBase.cpp | 22 : m_thread(thread) {} in HostNativeThreadBase() 25 return m_thread; in GetSystemHandle() 33 return m_thread != LLDB_INVALID_HOST_THREAD; in IsJoinable() 37 m_thread = LLDB_INVALID_HOST_THREAD; in Reset() 42 return m_thread == thread; in EqualsThread() 46 lldb::thread_t result = m_thread; in Release() 47 m_thread = LLDB_INVALID_HOST_THREAD; in Release()
|
H A D | NativeRegisterContext.cpp | 21 : m_thread(thread) {} in NativeRegisterContext() 238 return m_thread.GetID(); in GetThreadID() 345 NativeProcessProtocol &process = m_thread.GetProcess(); in ReadRegisterValueFromMemory() 384 NativeProcessProtocol &process = m_thread.GetProcess(); in WriteRegisterValueToMemory()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | RegisterContextUnwind.cpp | 60 : RegisterContext(thread, frame_number), m_thread(thread), in RegisterContextUnwind() 116 ExecutionContext exe_ctx(m_thread.shared_from_this()); in InitializeZerothFrame() 117 RegisterContextSP reg_ctx_sp = m_thread.GetRegisterContext(); in InitializeZerothFrame() 144 m_thread, this, m_behaves_like_zeroth_frame); in InitializeZerothFrame() 229 active_row->Dump(active_row_strm, lang_runtime_plan_sp.get(), &m_thread, in InitializeZerothFrame() 251 active_row->Dump(active_row_strm, m_full_unwind_plan_sp.get(), &m_thread, in InitializeZerothFrame() 278 process->GetTarget(), m_thread); in InitializeZerothFrame() 325 if (!m_thread.GetRegisterContext()) { in InitializeNonZerothFrame() 332 ExecutionContext exe_ctx(m_thread.shared_from_this()); in InitializeNonZerothFrame() 343 m_thread, this, m_behaves_like_zeroth_frame); in InitializeNonZerothFrame() [all …]
|
H A D | StackFrameList.cpp | 41 : m_thread(thread), m_prev_frames_sp(prev_frames_sp), m_mutex(), m_frames(), in StackFrameList() 67 lldb::addr_t cur_pc = m_thread.GetRegisterContext()->GetPC(); in GetCurrentInlinedDepth() 114 lldb::addr_t curr_pc = m_thread.GetRegisterContext()->GetPC(); in ResetCurrentInlinedDepth() 115 pc_as_address.SetLoadAddress(curr_pc, &(m_thread.GetProcess()->GetTarget())); in ResetCurrentInlinedDepth() 130 StopInfoSP stop_info_sp = m_thread.GetStopInfo(); in ResetCurrentInlinedDepth() 156 m_thread.GetProcess()->GetBreakpointSiteList().FindByID(bp_site_id)); in ResetCurrentInlinedDepth() 224 m_current_inlined_pc = m_thread.GetRegisterContext()->GetPC(); in SetCurrentInlinedDepth() 229 assert(m_thread.IsValid() && "Expected valid thread"); in GetOnlyConcreteFramesUpTo() 428 m_thread.shared_from_this(), frame_idx, concrete_frame_idx, cfa, in SynthesizeTailCallFrames() 444 if (!m_thread.IsValid()) in GetFramesUpTo() [all …]
|
H A D | RegisterContext.cpp | 27 : m_thread(thread), m_concrete_frame_idx(concrete_frame_idx), in RegisterContext() 33 ProcessSP process_sp(m_thread.GetProcess()); in InvalidateIfNeeded() 101 TargetSP target_sp = m_thread.CalculateTarget(); in GetPC() 124 m_thread.GetFrameWithConcreteFrameIndex(m_concrete_frame_idx)); in SetPC() 128 m_thread.ClearStackFrames(); in GetPCForSymbolication() 137 TargetSP target_sp = m_thread.CalculateTarget(); in GetPCForSymbolication() 148 TargetSP target_sp = m_thread.CalculateTarget(); in SetPC() 237 RegisterContextSP frame_zero_context = m_thread.GetRegisterContext(); in CopyFromRegisterContext() 262 lldb::tid_t RegisterContext::GetThreadID() const { return m_thread.GetID(); } in SetHardwareBreakpoint() 338 ProcessSP process_sp(m_thread in ReadRegisterValueFromMemory() [all...] |
H A D | UnwindLLDB.cpp | 52 ProcessSP process_sp(m_thread.GetProcess()); in DoGetFrameCount() 75 ProcessSP process_sp(m_thread.GetProcess()); in AddFirstFrame() 81 m_thread, RegisterContextLLDBSP(), first_cursor_sp->sctx, 0, *this)); in AddFirstFrame() 108 m_thread.GetIndexID()); in AddFirstFrame() 130 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame() 132 uint64_t max_stack_depth = m_thread.GetMaxBacktraceDepth(); in GetOneMoreFrame() 293 m_thread.GetIndexID()); in GetOneMoreFrame() 341 m_thread.GetIndexID()); in AddOneMoreFrame() 404 ProcessSP process_sp(m_thread.GetProcess()); in DoGetFrameInfoAtIndex() 444 return m_thread.GetRegisterContext(); in DoCreateRegisterContextForFrame() [all …]
|
H A D | ThreadPlanTracer.cpp | 38 m_enabled(false), m_stream_sp(stream_sp), m_thread(nullptr) {} in ThreadPlanTracer() 42 m_enabled(false), m_stream_sp(), m_thread(nullptr) {} in ThreadPlanTracer() 56 if (m_thread) in GetThread() 57 return *m_thread; in GetThread() 60 m_thread = thread_sp.get(); in GetThread() 61 return *m_thread; in GetThread()
|
H A D | ThreadPlan.cpp | 28 m_thread(&thread), m_kind(kind), m_name(name), m_plan_complete_mutex(), in ThreadPlan() 43 if (m_thread) in GetThread() 44 return *m_thread; in GetThread() 47 m_thread = thread_sp.get(); in GetThread() 48 return *m_thread; in GetThread() 103 void ThreadPlan::ClearThreadCache() { m_thread = nullptr; } in ClearThreadCache()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | HostThreadPosix.cpp | 28 int err = ::pthread_join(m_thread, result); in Join() 46 int err = ::pthread_cancel(m_thread); in Cancel() 56 int err = ::pthread_detach(m_thread); in Detach()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteRegisterContext.cpp | 198 gdb_comm.ReadRegister(m_thread.GetProtocolID(), remote_reg)) in GetPrimordialRegister() 223 gdb_comm.ReadAllRegisters(m_thread.GetProtocolID())) { in ReadRegisterBytes() 346 m_thread.GetProtocolID(), reg_info->kinds[eRegisterKindProcessPlugin], in SetPrimordialRegister() 396 m_thread.GetProtocolID(), in WriteRegisterBytes() 511 return gdb_comm.RestoreRegisterState(m_thread.GetProtocolID(), save_id); in WriteAllRegisterValues() 534 if (gdb_comm.SyncThreadState(m_thread.GetProtocolID())) in ReadAllRegisterValues() 539 gdb_comm.ReadAllRegisters(m_thread.GetProtocolID())) { in ReadAllRegisterValues() 606 m_thread.GetProtocolID(), in WriteAllRegisterValues() 690 m_thread.GetProtocolID(), in WriteAllRegisterValues() 703 if (m_thread in WriteAllRegisterValues() [all...] |
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeRegisterContextFreeBSD_arm64.cpp | 94 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 98 PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet() 107 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 111 PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet() 257 m_thread.GetID(), &m_dbreg); in ReadHardwareDebugInfo() 292 return NativeProcessFreeBSD::PtraceWrapper(PT_SETDBREGS, m_thread.GetID(), in WriteHardwareDebugRegs()
|
H A D | NativeRegisterContextFreeBSD_arm.cpp | 65 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 69 PT_GETVFPREGS, m_thread.GetID(), in ReadRegisterSet() 78 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 82 PT_SETVFPREGS, m_thread.GetID(), in WriteRegisterSet()
|
H A D | NativeRegisterContextFreeBSD_mips64.cpp | 84 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 88 PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet() 97 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 101 PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet()
|
H A D | NativeRegisterContextFreeBSD_x86_64.cpp | 345 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 349 return NativeProcessFreeBSD::PtraceWrapper(PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet() 352 return NativeProcessFreeBSD::PtraceWrapper(PT_GETXMMREGS, m_thread.GetID(), in ReadRegisterSet() 356 return NativeProcessFreeBSD::PtraceWrapper(PT_GETDBREGS, m_thread.GetID(), in ReadRegisterSet() 386 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 390 return NativeProcessFreeBSD::PtraceWrapper(PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet() 393 return NativeProcessFreeBSD::PtraceWrapper(PT_SETXMMREGS, m_thread.GetID(), in WriteRegisterSet() 397 return NativeProcessFreeBSD::PtraceWrapper(PT_SETDBREGS, m_thread.GetID(), in WriteRegisterSet()
|
H A D | NativeRegisterContextFreeBSD_powerpc.cpp | 137 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 140 return NativeProcessFreeBSD::PtraceWrapper(PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet() 149 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 152 return NativeProcessFreeBSD::PtraceWrapper(PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet()
|
H A D | NativeRegisterContextFreeBSD.cpp | 24 return static_cast<NativeProcessFreeBSD &>(m_thread.GetProcess()); in GetProcess()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Unwind.h | 21 Unwind(Thread &thread) : m_thread(thread) {} in Unwind() 61 Thread &GetThread() { return m_thread; } in GetThread() 76 Thread &m_thread; variable
|
H A D | RegisterContext.h | 143 virtual Thread &GetThread() { return m_thread; } 244 Thread &m_thread; // The thread that this register context belongs to. 234 Thread &m_thread; // The thread that this register context belongs to. global() variable
|
H A D | ThreadPlanTracer.h | 68 Thread *m_thread; variable
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeRegisterContextNetBSD.cpp | 25 m_thread.GetID()); in DoRegisterSet() 29 return static_cast<NativeProcessNetBSD &>(m_thread.GetProcess()); in GetProcess()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/ |
H A D | NativeRegisterContext.h | 119 virtual NativeThreadProtocol &GetThread() { return m_thread; } in GetThread() 176 &m_thread; // The thread that this register context belongs to.
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | HostNativeThreadBase.h | 48 lldb::thread_t m_thread = LLDB_INVALID_HOST_THREAD; variable
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/ |
H A D | RegisterContextFreeBSDKernel_i386.cpp | 54 m_thread.GetProcess()->ReadMemory(m_pcb_addr, &pcb, sizeof(pcb), error); in ReadRegister()
|
H A D | RegisterContextFreeBSDKernel_x86_64.cpp | 56 m_thread.GetProcess()->ReadMemory(m_pcb_addr, &pcb, sizeof(pcb), error); in ReadRegister()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
H A D | ABISysV_ppc64.cpp | 538 m_thread.GetStackFrameAtIndex(0).get(), *value_sp, ConstString("")); in GetValue() 550 Thread &m_thread; member in __anon31ea58350111::ReturnValueExtractor 568 : m_thread(thread), m_type(type), in ReturnValueExtractor() 681 return ValueObjectConstResult::Create(&m_thread, m_type, ConstString(""), in BuildValueObject() 919 m_thread.CalculateExecutionContext(exe_ctx); in GetChildType()
|