Home
last modified time | relevance | path

Searched refs:m_threads (Results 1 – 13 of 13) sorted by relevance

/openbsd/gnu/llvm/lldb/source/Target/
H A DThreadList.cpp48 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()
267 threads_copy = m_threads; in ShouldStop()
474 m_threads.clear(); in Clear()
691 thread_sp = m_threads[0]; in GetSelectedThread()
[all …]
H A DThreadCollection.cpp22 : m_threads(threads), m_mutex() {} in ThreadCollection()
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()
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 …]
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachThreadList.cpp124 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 DMachThreadList.h100 collection m_threads; variable
/openbsd/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/
H A DNativeProcessOpenBSD.cpp112 for (const auto &thread : process_up->m_threads) in Launch()
187 m_threads.clear(); in MonitorExited()
196 for (const auto &thread : m_threads) { in MonitorSIGTRAP()
205 for (const auto &thread : m_threads) { in MonitorSignal()
238 const auto &thread = m_threads[0]; in Resume()
258 for (const auto &thread : m_threads) in Resume()
270 for (const auto &thread : m_threads) in Resume()
436 for (const auto &thread : m_threads) { in HasThreadNoLock()
457 if (m_threads.empty()) in AddThread()
481 for (const auto &thread : m_threads) in Attach()
[all …]
/openbsd/gnu/llvm/lldb/source/API/
H A DSBQueue.cpp38 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
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp179 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 …]
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DNativeProcessWindows.cpp95 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 …]
/openbsd/gnu/llvm/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp180 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 …]
/openbsd/gnu/llvm/lldb/include/lldb/Target/
H A DThreadCollection.h47 return ThreadIterable(m_threads, GetMutex()); in Threads()
53 collection m_threads;
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DNativeProcessLinux.cpp556 assert(m_threads.size() == 1); in MonitorSIGTRAP()
901 for (const auto &thread : m_threads) { in Resume()
918 for (const auto &thread : m_threads) { in Resume()
983 for (const auto &thread : m_threads) { in Detach()
1017 for (const auto &thread : m_threads) { in Interrupt()
1487 return m_threads.size(); in UpdateThreads()
1645 for (const auto &thread : m_threads) { in HasThreadNoLock()
1665 assert(it != m_threads.end()); in StopTrackingThread()
1666 m_threads.erase(it); in StopTrackingThread()
1708 if (m_threads.empty()) in AddThread()
[all …]
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp102 if (idx < m_threads.size()) in GetThreadAtIndex()
103 return m_threads[idx].get(); in GetThreadAtIndex()
109 for (const auto &thread : m_threads) { in GetThreadByIDUnlocked()
174 for (const auto &thread : m_threads) { in SetWatchpoint()
215 for (const auto &thread : m_threads) { in RemoveWatchpoint()
261 for (const auto &thread : m_threads) { in SetHardwareBreakpoint()
300 for (const auto &thread : m_threads) { in RemoveHardwareBreakpoint()
/openbsd/gnu/llvm/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h226 return ThreadIterable(m_threads, m_threads_mutex); in Threads()
419 std::vector<std::unique_ptr<NativeThreadProtocol>> m_threads; variable