/external/llvm-project/lldb/include/lldb/Target/ |
D | ThreadList.h | 50 : m_thread_list(&thread_list), m_tid(tid) { in ExpressionExecutionThreadPusher() 51 m_thread_list->PushExpressionExecutionThread(m_tid); in ExpressionExecutionThreadPusher() 57 if (m_thread_list && m_tid != LLDB_INVALID_THREAD_ID) in ~ExpressionExecutionThreadPusher() 58 m_thread_list->PopExpressionExecutionThread(m_tid); in ~ExpressionExecutionThreadPusher() 62 ThreadList *m_thread_list;
|
D | Process.h | 2078 ThreadList &GetThreadList() { return m_thread_list; } in GetThreadList() 2086 ThreadList::ThreadIterable Threads() { return m_thread_list.Threads(); } in Threads() 2772 ThreadList m_thread_list; ///< The threads for this process as the user will variable
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
D | ProcessFreeBSD.cpp | 131 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); in DoResume() 554 m_thread_list.RefreshStateAfterStop(); in RefreshStateAfterStop() 565 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); in RefreshStateAfterStop() 567 ThreadSP thread_sp = m_thread_list.RemoveThreadByID(tid, false); in RefreshStateAfterStop() 714 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); in EnableWatchpoint() 716 m_thread_list.GetThreadAtIndex(0, false).get()); in EnableWatchpoint() 726 uint32_t thread_count = m_thread_list.GetSize(false); in EnableWatchpoint() 729 m_thread_list.GetThreadAtIndex(i, false).get()); in EnableWatchpoint() 770 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); in DisableWatchpoint() 771 uint32_t thread_count = m_thread_list.GetSize(false); in DisableWatchpoint() [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
D | ProcessWindows.cpp | 229 LLDB_LOG(log, "resuming {0} threads.", m_thread_list.GetSize()); in DoResume() 232 for (uint32_t i = 0; i < m_thread_list.GetSize(); ++i) { in DoResume() 234 m_thread_list.GetThreadAtIndex(i)); in DoResume() 373 m_thread_list.RefreshStateAfterStop(); in RefreshStateAfterStop() 387 m_thread_list.SetSelectedThreadByID(active_exception->GetThreadID()); in RefreshStateAfterStop() 388 ThreadSP stop_thread = m_thread_list.GetSelectedThread(); in RefreshStateAfterStop() 862 for (unsigned i = 0U; i < m_thread_list.GetSize(); i++) { in EnableWatchpoint() 863 Thread *thread = m_thread_list.GetThreadAtIndex(i).get(); in EnableWatchpoint() 875 for (unsigned i = 0U; i < m_thread_list.GetSize(); i++) { in EnableWatchpoint() 876 Thread *thread = m_thread_list.GetThreadAtIndex(i).get(); in EnableWatchpoint() [all …]
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachProcess.mm | 508 m_exception_messages_mutex(PTHREAD_MUTEX_RECURSIVE), m_thread_list(), function 559 return m_thread_list.GetName(tid); 563 return m_thread_list.GetState(tid); 567 return m_thread_list.NumThreads(); 571 return m_thread_list.ThreadIDAtIndex(thread_idx); 576 return m_thread_list.GetThreadIDByMachPortNumber(mach_port_number); 580 MachThreadSP thread_sp(m_thread_list.GetThreadByID(tid)); 598 return m_thread_list.GetRequestedQoS(tid, tsd, dti_qos_class_index); 602 return m_thread_list.GetPThreadT(tid); 606 return m_thread_list.GetDispatchQueueT(tid); [all …]
|
D | MachProcess.h | 278 MachThreadList &GetThreadList() { return m_thread_list; } in GetThreadList() 416 MachThreadList m_thread_list; // A list of threads that is maintained/updated variable
|
/external/llvm-project/lldb/source/Target/ |
D | Process.cpp | 549 m_thread_list(this), m_thread_plans(*this), m_extended_thread_list(this), in Process() 623 m_thread_list.Clear(); in ~Process() 674 m_thread_list.Destroy(); in Finalize() 1253 if (m_thread_list.GetSize(false) == 0 || in UpdateThreadListIfNeeded() 1254 stop_id != m_thread_list.GetStopID()) { in UpdateThreadListIfNeeded() 1258 std::lock_guard<std::recursive_mutex> guard(m_thread_list.GetMutex()); in UpdateThreadListIfNeeded() 1259 m_thread_list.SetStopID(stop_id); in UpdateThreadListIfNeeded() 1264 ThreadList &old_thread_list = m_thread_list; in UpdateThreadListIfNeeded() 1316 m_thread_list.Update(new_thread_list); in UpdateThreadListIfNeeded() 1317 m_thread_list.SetStopID(stop_id); in UpdateThreadListIfNeeded() [all …]
|
D | ProcessTrace.cpp | 99 void ProcessTrace::Clear() { m_thread_list.Clear(); } in Clear()
|
D | ThreadList.cpp | 754 : m_thread_list(nullptr), m_tid(LLDB_INVALID_THREAD_ID) { in ExpressionExecutionThreadPusher() 757 m_thread_list = &thread_sp->GetProcess()->GetThreadList(); in ExpressionExecutionThreadPusher() 758 m_thread_list->PushExpressionExecutionThread(m_tid); in ExpressionExecutionThreadPusher()
|
/external/llvm-project/lldb/source/Plugins/Process/minidump/ |
D | ProcessMinidump.cpp | 289 m_thread_list = m_minidump_parser->GetThreads(); in DoLoadCore() 337 Process::m_thread_list.SetSelectedThreadByID(m_active_exception->ThreadId); in RefreshStateAfterStop() 338 stop_thread = Process::m_thread_list.GetSelectedThread(); in RefreshStateAfterStop() 463 void ProcessMinidump::Clear() { Process::m_thread_list.Clear(); } in Clear() 467 for (const minidump::Thread &thread : m_thread_list) { in UpdateThreadList()
|
D | ProcessMinidump.h | 115 llvm::ArrayRef<minidump::Thread> m_thread_list; variable
|
/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/ |
D | ProcessKDP.cpp | 430 ThreadSP kernel_thread_sp(m_thread_list.FindThreadByProtocolID(g_kernel_tid)); in DoResume() 531 m_thread_list.RefreshStateAfterStop(); in RefreshStateAfterStop() 704 void ProcessKDP::Clear() { m_thread_list.Clear(); } in Clear()
|
/external/llvm-project/lldb/source/Plugins/Process/mach-core/ |
D | ProcessMachCore.cpp | 564 m_thread_list.RefreshStateAfterStop(); in RefreshStateAfterStop() 675 void ProcessMachCore::Clear() { m_thread_list.Clear(); } in Clear()
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | ProcessGDBRemote.cpp | 1790 m_thread_list.GetBackingThread(thread_sp)) in SetThreadStopInfo() 2377 m_thread_list.SetSelectedThreadByID(m_initial_tid); in RefreshStateAfterStop() 2467 m_thread_list.DiscardThreadPlans(); in DoDestroy() 2615 m_thread_list.Clear(); in SetLastStopPacket() 3332 m_thread_list.Clear(); in Clear()
|
/external/llvm-project/lldb/source/Plugins/Process/elf-core/ |
D | ProcessElfCore.cpp | 391 m_thread_list.Clear(); in Clear()
|