Lines Matching refs:GetID
437 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorCallback()
444 status, thread.GetID(), is_main_thread ? "is" : "is not", in MonitorCallback()
455 const auto info_err = GetSignalInfo(thread.GetID(), &info); in MonitorCallback()
479 GetID(), thread.GetID()); in MonitorCallback()
493 thread.GetID(), info_err, status, is_main_thread); in MonitorCallback()
522 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorSIGTRAP()
536 if (GetEventMessage(thread.GetID(), &event_message).Fail()) { in MonitorSIGTRAP()
540 thread.GetID()); in MonitorSIGTRAP()
560 return t->GetID() != GetID(); in MonitorSIGTRAP()
565 SetCurrentThreadID(main_thread->GetID()); in MonitorSIGTRAP()
575 StopRunningThreads(main_thread->GetID()); in MonitorSIGTRAP()
587 if (GetEventMessage(thread.GetID(), &data).Fail()) in MonitorSIGTRAP()
593 data, WIFEXITED(data), WIFSIGNALED(data), thread.GetID(), in MonitorSIGTRAP()
621 StopRunningThreads(thread.GetID()); in MonitorSIGTRAP()
640 thread.GetID(), error); in MonitorSIGTRAP()
653 thread.GetID(), error); in MonitorSIGTRAP()
677 thread.GetID(), error); in MonitorSIGTRAP()
694 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP()
702 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP()
710 LLDB_LOG(log, "received trace event, pid = {0}", thread.GetID()); in MonitorTrace()
715 StopRunningThreads(thread.GetID()); in MonitorTrace()
720 LLDB_LOG(log, "received breakpoint event, pid = {0}", thread.GetID()); in MonitorBreakpoint()
726 if (m_threads_stepping_with_breakpoint.find(thread.GetID()) != in MonitorBreakpoint()
730 StopRunningThreads(thread.GetID()); in MonitorBreakpoint()
737 thread.GetID(), wp_index); in MonitorWatchpoint()
745 StopRunningThreads(thread.GetID()); in MonitorWatchpoint()
769 thread.GetID()); in MonitorSignal()
774 LLDB_LOG(log, "pid {0} tid {1}, thread stopped", GetID(), thread.GetID()); in MonitorSignal()
793 if (m_pending_notification_tid == thread.GetID()) in MonitorSignal()
798 SetCurrentThreadID(thread.GetID()); in MonitorSignal()
805 LLDB_LOG(log, "failed to resume thread {0}: {1}", thread.GetID(), in MonitorSignal()
812 GetID(), thread.GetID(), thread_state); in MonitorSignal()
832 StopRunningThreads(thread.GetID()); in MonitorSignal()
838 LLDB_LOG(log, "parent_tid={0}, child_pid={1}, event={2}", parent.GetID(), in MonitorClone()
852 assert(!tgid_ret || *tgid_ret == GetID()); in MonitorClone()
877 StopRunningThreads(parent.GetID()); in MonitorClone()
899 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
910 resume_actions.GetActionForThread(thread->GetID(), true); in Resume()
927 resume_actions.GetActionForThread(thread->GetID(), true); in Resume()
930 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
931 thread->GetID()); in Resume()
936 action->state, GetID(), thread->GetID()); in Resume()
955 __FUNCTION__, StateAsCString(action->state), GetID(), in Resume()
956 thread->GetID()); in Resume()
966 if (kill(GetID(), SIGSTOP) != 0) in Halt()
979 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach()
983 Status e = Detach(thread->GetID()); in Detach()
999 Host::GetSignalAsCString(signo), GetID()); in Signal()
1001 if (kill(GetID(), signo)) in Signal()
1041 LLDB_LOG(log, "pid {0} {1} tid {2} chosen for interrupt target", GetID(), in Interrupt()
1043 deferred_signal_thread->GetID()); in Interrupt()
1045 StopRunningThreads(deferred_signal_thread->GetID()); in Interrupt()
1052 LLDB_LOG(log, "pid {0}", GetID()); in Kill()
1063 LLDB_LOG(log, "ignored for PID {0} due to current state: {1}", GetID(), in Kill()
1078 if (kill(GetID(), SIGKILL) != 0) { in Kill()
1183 auto BufferOrError = getProcFile(GetID(), GetCurrentThreadID(), "smaps"); in PopulateMemoryRegionCache()
1187 BufferOrError = getProcFile(GetID(), GetCurrentThreadID(), "maps"); in PopulateMemoryRegionCache()
1211 m_mem_region_cache.size(), GetID()); in PopulateMemoryRegionCache()
1285 PtraceWrapper(req, thread.GetID(), nullptr, nullptr).ToError()) in Syscall()
1289 ::pid_t wait_pid = llvm::sys::RetryAfterSignal(-1, ::waitpid, thread.GetID(), in Syscall()
1295 assert((unsigned)wait_pid == thread.GetID()); in Syscall()
1646 if (thread->GetID() == thread_id) { in HasThreadNoLock()
1658 lldb::tid_t thread_id = thread.GetID(); in StopTrackingThread()
1701 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
1714 Status tracing_error = NotifyTracersOfNewThread(thread.GetID()); in AddThread()
1717 StopRunningThreads(thread.GetID()); in AddThread()
1743 module_file_spec.GetFilename().AsCString(), GetID()); in GetLoadedModuleFileSpec()
1776 LLDB_LOG(log, "tid: {0}", thread.GetID()); in ResumeThread()
1788 thread.GetID(), m_pending_notification_tid); in ResumeThread()
1862 LLDB_LOG(log, "tid: {0}", thread.GetID()); in ThreadWasCreated()
1905 if (thread_up->GetID() == GetID()) in SigchldHandler()
1908 if (llvm::Optional<WaitStatus> status = HandlePid(thread_up->GetID())) in SigchldHandler()
1909 tid_events.try_emplace(thread_up->GetID(), *status); in SigchldHandler()
1914 if (llvm::Optional<WaitStatus> status = HandlePid(GetID())) in SigchldHandler()
1915 tid_events.try_emplace(GetID(), *status); in SigchldHandler()
1920 if (KV.first == GetID() && (KV.second.type == WaitStatus::Exit || in SigchldHandler()