| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadList.cpp | 48 m_threads = rhs.m_threads; in operator =() 88 return m_threads.size(); in GetSize() 98 if (idx < m_threads.size()) in GetThreadAtIndex() 99 thread_sp = m_threads[idx]; in GetThreadAtIndex() 114 thread_sp = m_threads[idx]; in FindThreadByID() 151 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByID() 171 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByProtocolID() 264 threads_copy = m_threads; in ShouldStop() 447 m_threads.clear(); in Clear() 656 thread_sp = m_threads[0]; in GetSelectedThread() [all …]
|
| H A D | ThreadCollection.cpp | 26 m_threads.push_back(thread_sp); in AddThread() 33 if (m_threads.empty() || m_threads.back()->GetIndexID() < thread_index_id) in AddThreadSortedByIndexID() 34 m_threads.push_back(thread_sp); in AddThreadSortedByIndexID() 36 m_threads.insert( in AddThreadSortedByIndexID() 37 std::upper_bound(m_threads.begin(), m_threads.end(), thread_sp, in AddThreadSortedByIndexID() 48 if (idx < m_threads.size()) in InsertThread() 49 m_threads.insert(m_threads.begin() + idx, thread_sp); in InsertThread() 51 m_threads.push_back(thread_sp); in InsertThread() 56 return m_threads.size(); in GetSize() 62 if (idx < m_threads.size()) in GetThreadAtIndex() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachThreadList.cpp | 124 thread_sp = m_threads[idx]; in GetThreadByID() 138 thread_sp = m_threads[idx]; in GetThreadByMachPortNumber() 152 return m_threads[idx]->ThreadID(); in GetThreadIDByMachPortNumber() 223 return m_threads.size(); in NumThreads() 228 if (idx < m_threads.size()) in ThreadIDAtIndex() 229 return m_threads[idx]->ThreadID(); in ThreadIDAtIndex() 252 m_threads.clear(); in Clear() 291 if (m_threads.empty() || update) { in UpdateThreadList() 335 m_threads.swap(currThreads); in UpdateThreadList() 370 m_threads[idx]->Dump(idx); in Dump() [all …]
|
| H A D | MachThreadList.h | 100 collection m_threads; variable
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBQueue.cpp | 38 m_threads = rhs.m_threads; in QueueImpl() 51 m_threads.clear(); in Clear() 100 m_threads.push_back(thread_sp); in FetchThreads() 134 result = m_threads.size(); in GetNumThreads() 144 if (queue_sp && idx < m_threads.size()) { in GetThreadAtIndex() 147 ThreadSP thread_sp = m_threads[idx].lock(); in GetThreadAtIndex() 206 m_threads; // threads currently executing this queue's items member in lldb_private::QueueImpl
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 179 m_threads.clear(); in MonitorExited() 189 for (const auto &thread : m_threads) { in MonitorSIGSTOP() 256 for (const auto &thread : m_threads) in MonitorSIGTRAP() 264 for (const auto &t : m_threads) { in MonitorSIGTRAP() 373 for (const auto &abs_thread : m_threads) { in MonitorSignal() 780 for (const auto &thread : m_threads) { in HasThreadNoLock() 801 if (m_threads.empty()) in AddThread() 816 for (auto it = m_threads.begin(); it != m_threads.end(); ++it) { in RemoveThread() 818 m_threads.erase(it); in RemoveThread() 847 for (const auto &thread : m_threads) in Attach() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | NativeProcessWindows.cpp | 95 LLDB_LOG(log, "resuming {0} threads.", m_threads.size()); in Resume() 98 for (uint32_t i = 0; i < m_threads.size(); ++i) { in Resume() 99 auto thread = static_cast<NativeThreadWindows *>(m_threads[i].get()); in Resume() 274 for (uint32_t i = 0; i < m_threads.size(); ++i) { in StopThread() 275 auto t = static_cast<NativeThreadWindows *>(m_threads[i].get()); in StopThread() 283 size_t NativeProcessWindows::UpdateThreads() { return m_threads.size(); } in UpdateThreads() 439 assert(m_threads.empty()); in OnDebuggerConnected() 440 m_threads.push_back(std::make_unique<NativeThreadWindows>( in OnDebuggerConnected() 574 m_threads.push_back(std::move(thread)); in OnCreateThread() 584 for (auto t = m_threads.begin(); t != m_threads.end();) { in OnExitThread() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 180 m_threads.clear(); in MonitorExited() 200 for (const auto &thread : m_threads) { in MonitorSIGSTOP() 227 for (const auto &t : m_threads) { in MonitorSIGTRAP() 262 for (const auto &thread : m_threads) in MonitorSIGTRAP() 372 for (const auto &abs_thread : m_threads) { in MonitorSignal() 807 for (const auto &thread : m_threads) { in HasThreadNoLock() 828 if (m_threads.empty()) in AddThread() 843 for (auto it = m_threads.begin(); it != m_threads.end(); ++it) { in RemoveThread() 845 m_threads.erase(it); in RemoveThread() 871 for (const auto &thread : m_threads) in Attach() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | ThreadCollection.h | 47 return ThreadIterable(m_threads, GetMutex()); in Threads() 53 collection m_threads;
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | NativeProcessLinux.cpp | 562 assert(m_threads.size() == 1); in MonitorSIGTRAP() 906 for (const auto &thread : m_threads) { in Resume() 923 for (const auto &thread : m_threads) { in Resume() 982 for (const auto &thread : m_threads) { in Detach() 1016 for (const auto &thread : m_threads) { in Interrupt() 1486 return m_threads.size(); in UpdateThreads() 1644 for (const auto &thread : m_threads) { in HasThreadNoLock() 1664 assert(it != m_threads.end()); in StopTrackingThread() 1665 m_threads.erase(it); in StopTrackingThread() 1707 if (m_threads.empty()) in AddThread() [all …]
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 101 if (idx < m_threads.size()) in GetThreadAtIndex() 102 return m_threads[idx].get(); in GetThreadAtIndex() 108 for (const auto &thread : m_threads) { in GetThreadByIDUnlocked() 173 for (const auto &thread : m_threads) { in SetWatchpoint() 214 for (const auto &thread : m_threads) { in RemoveWatchpoint() 260 for (const auto &thread : m_threads) { in SetHardwareBreakpoint() 299 for (const auto &thread : m_threads) { in RemoveHardwareBreakpoint()
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | guard_threaded_test.pass.cpp | 49 explicit Barrier(int n) : m_threads(n), m_remaining(n) { } in Barrier() 65 while ((m_threads - m_remaining.load()) < n) { in wait_for_threads() 71 const int m_threads; member
|
| /llvm-project-15.0.7/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 225 return ThreadIterable(m_threads, m_threads_mutex); in Threads() 418 std::vector<std::unique_ptr<NativeThreadProtocol>> m_threads; variable
|