| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | NativeProcessLinux.cpp | 437 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorCallback() 479 GetID(), thread.GetID()); in MonitorCallback() 522 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorSIGTRAP() 560 return t->GetID() != GetID(); in MonitorSIGTRAP() 694 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP() 702 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP() 769 thread.GetID()); in MonitorSignal() 774 LLDB_LOG(log, "pid {0} tid {1}, thread stopped", GetID(), thread.GetID()); in MonitorSignal() 812 GetID(), thread.GetID(), thread_state); in MonitorSignal() 936 action->state, GetID(), thread->GetID()); in Resume() [all …]
|
| H A D | NativeRegisterContextLinux.cpp | 95 PTRACE_GETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in ReadGPR() 100 PTRACE_SETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in WriteGPR() 104 return NativeProcessLinux::PtraceWrapper(PTRACE_GETFPREGS, m_thread.GetID(), in ReadFPR() 110 return NativeProcessLinux::PtraceWrapper(PTRACE_SETFPREGS, m_thread.GetID(), in WriteFPR() 117 return NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, m_thread.GetID(), in ReadRegisterSet() 124 return NativeProcessLinux::PtraceWrapper(PTRACE_SETREGSET, m_thread.GetID(), in WriteRegisterSet() 137 PTRACE_PEEKUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), in DoReadRegisterValue() 156 PTRACE_POKEUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), buf); in DoWriteRegisterValue()
|
| H A D | NativeThreadLinux.cpp | 104 auto BufferOrError = getProcFile(process.GetID(), GetID(), "comm"); in GetName() 144 __FUNCTION__, GetID(), StateAsCString(m_state)); in GetStopReason() 249 return NativeProcessLinux::PtraceWrapper(PTRACE_CONT, GetID(), nullptr, in Resume() 503 lldb::pid_t pid = process.GetID(); in RequestStop() 504 lldb::tid_t tid = GetID(); in RequestStop() 536 m_process.GetID(), GetID(), old_state, new_state); in MaybeLogStateChange() 552 GetProcess().GetSignalInfo(GetID(), siginfo_buf->getBufferStart()); in GetSiginfo()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 380 SetCurrentThreadID(thread.GetID()); in MonitorSignal() 434 LLDB_LOG(log, "pid {0}", GetID()); in Resume() 453 thread.GetID()); in Resume() 460 action->state, action->signal, GetID(), thread.GetID()); in Resume() 481 __FUNCTION__, StateAsCString(action->state), GetID(), thread.GetID()); in Resume() 504 if (kill(GetID(), SIGSTOP) != 0) in Halt() 516 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach() 525 if (kill(GetID(), signo)) in Signal() 535 LLDB_LOG(log, "pid {0}", GetID()); in Kill() 782 if (thread->GetID() == thread_id) { in HasThreadNoLock() [all …]
|
| H A D | NativeThreadFreeBSD.cpp | 45 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in Resume() 48 ret = NativeProcessFreeBSD::PtraceWrapper(PT_CLEARSTEP, GetID()); in Resume() 60 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in SingleStep() 63 ret = NativeProcessFreeBSD::PtraceWrapper(PT_SETSTEP, GetID()); in SingleStep() 70 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_SUSPEND, GetID()); in Suspend() 79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); in SetStoppedBySignal() 188 static_cast<int>(GetProcess().GetID())}; in GetName() 201 GetID(), m_state, strerror(errno)); in GetName() 208 if (procinfo.ki_tid == static_cast<lwpid_t>(GetID())) in GetName() 240 LLDB_LOG(log, "tid = {0} in state {1} cannot answer stop reason", GetID(), in GetStopReason() [all …]
|
| H A D | NativeRegisterContextFreeBSD_arm64.cpp | 74 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet() 78 PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet() 87 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet() 91 PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet() 237 m_thread.GetID(), &m_dbreg); in ReadHardwareDebugInfo() 272 return NativeProcessFreeBSD::PtraceWrapper(PT_SETDBREGS, m_thread.GetID(), in WriteHardwareDebugRegs()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 433 signaled_lwp = thread->GetID(); in ComputeSignalInfo() 463 LLDB_LOG(log, "pid {0}", GetID()); in Resume() 485 thread.GetID()); in Resume() 492 action->state, action->signal, GetID(), thread.GetID()); in Resume() 513 thread.GetID()); in Resume() 554 if (kill(GetID(), signo)) in Signal() 566 LLDB_LOG(log, "pid {0}", GetID()); in Kill() 592 if (kill(GetID(), SIGKILL) != 0) { in Kill() 668 vm = kinfo_getvmmap(GetID(), &count); in PopulateMemoryRegionCache() 809 if (thread->GetID() == thread_id) { in HasThreadNoLock() [all …]
|
| H A D | NativeThreadNetBSD.cpp | 45 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in Resume() 46 nullptr, GetID()); in Resume() 49 ret = NativeProcessNetBSD::PtraceWrapper(PT_CLEARSTEP, m_process.GetID(), in Resume() 50 nullptr, GetID()); in Resume() 57 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in SingleStep() 58 nullptr, GetID()); in SingleStep() 61 ret = NativeProcessNetBSD::PtraceWrapper(PT_SETSTEP, m_process.GetID(), in SingleStep() 62 nullptr, GetID()); in SingleStep() 70 nullptr, GetID()); in Suspend() 79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); in SetStoppedBySignal() [all …]
|
| H A D | NativeRegisterContextNetBSD.cpp | 25 m_thread.GetID()); in DoRegisterSet() 33 return GetProcess().GetID(); in GetProcessPid()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | UserID.h | 47 lldb::user_id_t GetID() const { return m_uid; } in GetID() function 68 bool operator()(const UserID &rhs) const { return m_uid == rhs.GetID(); } in operator() 81 return lhs.GetID() == rhs.GetID(); 85 return lhs.GetID() != rhs.GetID();
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessWindows.cpp | 390 site->GetID()); in RefreshStateAfterStop() 459 site->GetID()); in RefreshStateAfterStop() 465 site->GetID(), stop_thread->GetID()); in RefreshStateAfterStop() 468 *stop_thread, site->GetID()); in RefreshStateAfterStop() 474 site->GetID()); in RefreshStateAfterStop() 867 wp->GetID()); in EnableWatchpoint() 883 thread->GetID()); in EnableWatchpoint() 897 m_watchpoints[wp->GetID()] = info; in EnableWatchpoint() 898 m_watchpoint_ids[info.slot_id] = wp->GetID(); in EnableWatchpoint() 913 auto it = m_watchpoints.find(wp->GetID()); in DisableWatchpoint() [all …]
|
| H A D | NativeProcessWindows.cpp | 101 resume_actions.GetActionForThread(thread->GetID(), true); in Resume() 126 __FUNCTION__, StateAsCString(action->state), GetID(), in Resume() 127 thread->GetID()); in Resume() 182 GetID(), state); in Detach() 252 SetCurrentThreadID(thread.GetID()); in SetStopReasonForThread() 381 module_file_spec.GetCString(), GetID()); in GetLoadedModuleFileSpec() 401 file_spec.GetCString(), GetID()); in GetFileLoadAddress() 406 LLDB_LOG(log, "Process {0} exited with code {1}", GetID(), exit_code); in OnExitProcess() 425 if (GetID() == LLDB_INVALID_PROCESS_ID) in OnDebuggerConnected() 471 thread->GetID(), error); in OnDebugException() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerLLGS.cpp | 297 m_current_process->GetID(), in LaunchProcess() 315 m_current_process->GetID()); in LaunchProcess() 342 m_current_process->GetID()); in LaunchProcess() 370 m_current_process->GetID(), in AttachToProcess() 487 process->GetID()); in SendWResponse() 737 lldb::tid_t tid = thread.GetID(); in GetJSONThreadsInfo() 804 thread.GetID()); in PrepareStopReplyPacketForThread() 825 process.GetID(), thread.GetID(), signum, int(tid_stop_info.reason), in PrepareStopReplyPacketForThread() 833 AppendThreadIDToResponse(response, process.GetID(), thread.GetID()); in PrepareStopReplyPacketForThread() 1057 lldb::pid_t pid = process->GetID(); in HandleInferiorState_Exited() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 82 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach() 99 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach() 133 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach() 305 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 315 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in SetRendezvousBreakpoint() 361 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 363 target.RemoveBreakpointByID(dyld_break->GetID()); in SetRendezvousBreakpoint() 372 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 376 m_dyld_bid = dyld_break->GetID(); in SetRendezvousBreakpoint() 787 __FUNCTION__, m_process->GetID()); in ResolveExecutableModule() [all …]
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 44 if (!thread || !HandleOneThread(thread->GetID(), result)) in DoExecute() 61 tids.push_back(thread_sp->GetID()); in DoExecute() 86 tids.push_back(thread->GetID()); in DoExecute() 116 if (!HandleOneThread(thread->GetID(), result)) { in DoExecute() 182 tids.push_back(thread_sp->GetID()); in DoExecute() 186 tids.push_back(thread.GetID()); in DoExecute() 205 tids.push_back(thread->GetID()); in DoExecute()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointIDList.cpp | 180 &canonical_id_str, bp_id->GetBreakpointID(), bp_loc->GetID()); in FindAndReplaceIDRanges() 253 break_id_t cur_bp_id = breakpoint->GetID(); in FindAndReplaceIDRanges() 264 if ((bp_loc->GetID() >= start_loc_id) && in FindAndReplaceIDRanges() 265 (bp_loc->GetID() <= end_loc_id)) { in FindAndReplaceIDRanges() 268 bp_loc->GetID()); in FindAndReplaceIDRanges() 276 if (bp_loc->GetID() <= end_loc_id) { in FindAndReplaceIDRanges() 279 bp_loc->GetID()); in FindAndReplaceIDRanges() 313 &canonical_id_str, bkpt_sp->GetID(), LLDB_INVALID_BREAK_ID); in FindAndReplaceIDRanges()
|
| H A D | BreakpointLocation.cpp | 192 return m_options_up->InvokeCallback(context, m_owner.GetID(), GetID()); in InvokeCallback() 194 return m_owner.InvokeCallback(context, GetID()); in InvokeCallback() 475 process_sp->RemoveOwnerFromBreakpointSite(GetBreakpoint().GetID(), in ClearBreakpointSite() 476 GetID(), m_bp_site_sp); in ClearBreakpointSite() 478 m_bp_site_sp->RemoveOwner(GetBreakpoint().GetID(), GetID()); in ClearBreakpointSite() 495 BreakpointID::GetCanonicalReference(s, m_owner.GetID(), GetID()); in GetDescription() 638 GetID(), tid, in Dump()
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | DiagnosticEventTest.cpp | 66 Debugger::ReportWarning("foo", debugger_sp->GetID()); in TEST_F() 91 Debugger::ReportError("bar", debugger_sp->GetID()); in TEST_F() 152 Debugger::ReportWarning("foo", debugger_sp->GetID(), &once); in TEST_F() 169 Debugger::ReportWarning("foo", debugger_sp->GetID(), &once); in TEST_F() 172 Debugger::ReportWarning("foo", debugger_sp->GetID()); in TEST_F()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | ThreadDecoder.cpp | 29 m_thread_sp->GetID(), [&](llvm::ArrayRef<uint8_t> data) -> llvm::Error { in FindLowestTSC() 53 return m_trace.GetThreadTimer(m_thread_sp->GetID()) in DoDecode() 60 m_thread_sp->GetID(), [&](llvm::ArrayRef<uint8_t> data) { in DoDecode()
|
| H A D | TraceIntelPTMultiCpuDecoder.cpp | 25 m_tids.insert(thread_sp->GetID()); in TraceIntelPTMultiCpuDecoder() 67 ->GetThreadTimer(thread.GetID()) in Decode() 69 auto it = m_decoded_threads.find(thread.GetID()); in Decode() 80 m_continuous_executions_per_thread->find(thread.GetID()); in Decode() 90 m_decoded_threads.try_emplace(thread.GetID(), decoded_thread_sp); in Decode()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Thread.cpp | 235 static_cast<void *>(this), GetID()); in Thread() 243 static_cast<void *>(this), GetID()); in ~Thread() 452 static_cast<void *>(this), GetID(), in SetStopInfo() 966 GetID(), eVoteNoOpinion); in ShouldReportStop() 975 GetID(), eVoteNoOpinion); in ShouldReportStop() 983 GetID(), eVoteNoOpinion); in ShouldReportStop() 993 GetID()); in ShouldReportStop() 1011 GetID(), thread_vote); in ShouldReportStop() 1210 GetID(), force); in DiscardThreadPlans() 1442 frame_idx, GetID()); in ReturnFromFrameWithIndex() [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 109 if (thread->GetID() == tid) in GetThreadByIDUnlocked() 198 GetID(), unwatch_thread_sp->GetID(), remove_error); in SetWatchpoint() 278 GetID(), rollback_thread_sp->GetID(), remove_error); in SetHardwareBreakpoint() 327 GetID()); in SynchronouslyNotifyProcessStateChanged() 332 LLDB_LOG(log, "process {0} exec()ed", GetID()); in NotifyDidExec() 596 GetID(), breakpoint_addr); in FixupBreakpointPCAsNeeded() 605 LLDB_LOG(log, "pid {0} tid {1}: changing PC from {2:x} to {3:x}", GetID(), in FixupBreakpointPCAsNeeded() 606 thread.GetID(), initial_pc_addr, breakpoint_addr); in FixupBreakpointPCAsNeeded() 613 LLDB_LOG(log, "pid {0} tid {1}: failed to set PC: {2}", GetID(), in FixupBreakpointPCAsNeeded() 614 thread.GetID(), error); in FixupBreakpointPCAsNeeded()
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | Block.cpp | 74 s->Printf(", parent = {0x%8.8" PRIx64 "}", parent_block->GetID()); in Dump() 113 if (block_id == GetID()) in FindBlockByID() 166 s->Printf(", Block{0x%8.8" PRIx64 "}", GetID()); in DumpSymbolContext() 356 GetID(), (uint32_t)m_ranges.GetSize(), block_start_addr, in AddRange() 357 block_end_addr, parent_block->GetID(), function->GetID(), in AddRange() 365 GetID(), (uint32_t)m_ranges.GetSize(), block_start_addr, in AddRange() 366 block_end_addr, parent_block->GetID(), function->GetID(), in AddRange() 482 return sym_file->GetDeclContextForUID(GetID()); in GetDeclContext()
|
| H A D | TypeMap.cpp | 31 m_types.insert(std::make_pair(type_sp->GetID(), type_sp)); in Insert() 36 user_id_t type_uid = type_sp->GetID(); in InsertUnique() 40 pos != end && pos->second->GetID() == type_uid; ++pos) { in InsertUnique() 112 lldb::user_id_t uid = type_sp->GetID(); in Remove()
|
| /llvm-project-15.0.7/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 124 m_process->GetID()); in GetDynamicRegisterInfo() 166 m_process->GetID()); in UpdateThreadList() 314 thread->GetID(), thread->GetProtocolID(), reg_data_addr); in CreateRegisterContextForThread() 324 thread->GetID(), thread->GetProtocolID()); in CreateRegisterContextForThread() 328 thread->GetID()); in CreateRegisterContextForThread() 348 thread->GetID()); in CreateRegisterContextForThread()
|