Searched refs:thread_sp (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/tools/lldb/source/Target/
H A DStopInfo.cpp50 ThreadSP thread_sp (m_thread_wp.lock());
51 if (thread_sp)
52 return thread_sp->GetProcess()->GetStopID() == m_stop_id;
59 ThreadSP thread_sp (m_thread_wp.lock());
60 if (thread_sp)
62 m_stop_id = thread_sp->GetProcess()->GetStopID();
63 m_resume_id = thread_sp->GetProcess()->GetResumeID();
70 ThreadSP thread_sp (m_thread_wp.lock());
72 if (thread_sp)
74 lldb::StateType ret_type = thread_sp
[all...]
H A DThreadList.cpp82 ThreadList::AddThread (const ThreadSP &thread_sp) argument
85 m_threads.push_back(thread_sp);
89 ThreadList::InsertThread (const lldb::ThreadSP &thread_sp, uint32_t idx) argument
93 m_threads.insert(m_threads.begin() + idx, thread_sp);
95 m_threads.push_back (thread_sp);
115 ThreadSP thread_sp; local
117 thread_sp = m_threads[idx];
118 return thread_sp;
129 ThreadSP thread_sp; local
136 thread_sp
151 ThreadSP thread_sp; local
174 ThreadSP thread_sp; local
197 ThreadSP thread_sp; local
215 ThreadSP thread_sp; local
244 ThreadSP thread_sp; local
697 ThreadSP thread_sp = FindThreadByID(m_selected_tid); local
[all...]
H A DOperatingSystem.cpp61 OperatingSystem::IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp) argument
63 if (thread_sp)
64 return thread_sp->IsOperatingSystemPluginThread();
H A DExecutionContext.cpp57 ExecutionContext::ExecutionContext (const lldb::ThreadSP &thread_sp) : argument
63 if (thread_sp)
64 SetContext (thread_sp);
105 lldb::ThreadSP thread_sp(thread_wp.lock());
106 if (thread_sp)
107 SetContext (thread_sp);
348 ExecutionContext::SetThreadSP (const lldb::ThreadSP &thread_sp) argument
350 m_thread_sp = thread_sp;
420 ExecutionContext::SetContext (const lldb::ThreadSP &thread_sp) argument
423 m_thread_sp = thread_sp;
655 SetThreadSP(const lldb::ThreadSP &thread_sp) argument
[all...]
H A DQueue.cpp66 for (ThreadSP thread_sp : process_sp->Threads())
68 if (thread_sp->GetQueueID() == m_queue_id)
70 result.push_back (thread_sp);
H A DStackFrame.cpp47 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
57 m_thread_wp (thread_sp),
89 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
96 m_thread_wp (thread_sp),
128 StackFrame::StackFrame (const ThreadSP &thread_sp, argument
135 m_thread_wp (thread_sp),
139 m_id (pc_addr.GetLoadAddress (thread_sp->CalculateTarget().get()), cfa, NULL),
228 ThreadSP thread_sp = GetThread(); local
229 if (thread_sp)
230 return thread_sp
[all...]
H A DThread.cpp166 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp) : argument
167 m_thread_sp (thread_sp),
172 Thread::ThreadEventData::ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id) : argument
173 m_thread_sp (thread_sp),
209 ThreadSP thread_sp; local
212 thread_sp = event_data->GetThread();
213 return thread_sp;
233 ThreadSP thread_sp = event_data->GetThread(); local
234 if (thread_sp)
236 frame_sp = thread_sp
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/API/
H A DSBQueueItem.cpp111 ThreadSP thread_sp; local
113 thread_sp = m_queue_item_sp->GetExtendedBacktraceThread (type_const);
114 if (thread_sp)
116 result.SetThread (thread_sp);
H A DSBQueue.cpp151 ThreadSP thread_sp = thread_list[idx]; local
152 if (thread_sp && thread_sp->IsValid())
154 m_threads.push_back (thread_sp);
214 ThreadSP thread_sp = m_threads[idx].lock(); local
215 if (thread_sp)
217 sb_thread.SetThread (thread_sp);
H A DSBProcess.cpp268 ThreadSP thread_sp; local
273 thread_sp = process_sp->GetThreadList().GetSelectedThread();
274 sb_thread.SetThread (thread_sp);
279 log->Printf ("SBProcess(%p)::GetSelectedThread () => SBThread(%p)", process_sp.get(), thread_sp.get());
291 ThreadSP thread_sp; local
296 thread_sp = process_sp->CreateOSPluginThread(tid, context);
297 sb_thread.SetThread (thread_sp);
301 log->Printf ("SBProcess(%p)::CreateOSPluginThread (tid=0x%" PRIx64 ", context=0x%" PRIx64 ") => SBThread(%p)", process_sp.get(), tid, context, thread_sp.get());
517 ThreadSP thread_sp; local
524 thread_sp
901 ThreadSP thread_sp; local
928 ThreadSP thread_sp; local
[all...]
H A DSBThread.cpp439 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
440 if (thread_sp)
441 return thread_sp->GetID();
448 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
449 if (thread_sp)
450 return thread_sp->GetIndexID();
1339 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
1340 if (thread_sp)
1341 return thread_sp->GetExtendedBacktraceOriginatingIndexID();
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp217 ThreadSP thread_sp (CreateThreadFromThreadInfo (thread_dict, core_thread_list, old_thread_list, core_used_map, NULL));
218 if (thread_sp)
219 new_thread_list.AddThread(thread_sp);
248 ThreadSP thread_sp; local
270 thread_sp = old_thread_list.FindThreadByID (tid, false);
271 if (thread_sp)
275 if (!IsOperatingSystemPluginThread(thread_sp))
280 thread_sp.reset();
284 if (!thread_sp)
288 thread_sp
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterContextThreadMemory.cpp38 ThreadSP thread_sp (m_thread_wp.lock());
39 if (thread_sp)
41 ProcessSP process_sp (thread_sp->GetProcess());
53 ThreadSP backing_thread_sp (thread_sp->GetBackingThread());
61 if (os->IsOperatingSystemPluginThread (thread_sp))
62 m_reg_ctx_sp = os->CreateRegisterContextForThread (thread_sp.get(), LLDB_INVALID_ADDRESS);
H A DThreadMemory.h110 SetBackingThread (const lldb::ThreadSP &thread_sp) argument
112 //printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), thread_sp->GetID());
113 m_backing_thread_sp = thread_sp;
114 return (bool)thread_sp;
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Target/
H A DExecutionContext.h204 /// referenced in \a thread_sp.
206 /// If \a thread_sp is valid this object will create a weak
218 SetThreadSP (const lldb::ThreadSP &thread_sp);
395 ExecutionContext (const lldb::ThreadSP &thread_sp);
646 SetThreadSP (const lldb::ThreadSP &thread_sp);
705 // If "thread_sp" is valid, then set the thread, process and target
707 // If "thread_sp" is not valid, all shared pointers are reset.
710 SetContext (const lldb::ThreadSP &thread_sp);
H A DOperatingSystem.h88 IsOperatingSystemPluginThread (const lldb::ThreadSP &thread_sp);
H A DThreadList.h46 AddThread (const lldb::ThreadSP &thread_sp);
49 InsertThread (const lldb::ThreadSP &thread_sp, uint32_t idx);
H A DStackFrame.h65 /// @param [in] thread_sp
111 StackFrame (const lldb::ThreadSP &thread_sp,
122 StackFrame (const lldb::ThreadSP &thread_sp,
130 StackFrame (const lldb::ThreadSP &thread_sp,
H A DStopInfo.h44 SetThread (const lldb::ThreadSP &thread_sp) argument
46 m_thread_wp = thread_sp;
H A DThread.h87 ThreadEventData (const lldb::ThreadSP thread_sp);
89 ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id);
389 SetBackingThread (const lldb::ThreadSP &thread_sp) argument
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp1447 ThreadSP thread_sp (old_thread_list_copy.RemoveThreadByProtocolID(tid, false));
1448 if (!thread_sp)
1450 thread_sp.reset (new ThreadGDBRemote (*this, tid));
1455 thread_sp.get(),
1456 thread_sp->GetID());
1464 thread_sp.get(),
1465 thread_sp->GetID());
1467 new_thread_list.AddThread(thread_sp);
1526 ThreadSP thread_sp; local
1549 thread_sp
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessFreeBSD.cpp201 ThreadSP thread_sp (old_thread_list_copy.RemoveThreadByID(tid, false));
202 if (!thread_sp)
204 thread_sp.reset(new FreeBSDThread(*this, tid));
213 new_thread_list.AddThread(thread_sp);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIX.cpp535 ThreadSP thread_sp; local
536 thread_sp.reset(CreateNewPOSIXThread(*this, child_tid));
540 m_thread_list.AddThread(thread_sp);
558 ThreadSP thread_sp = m_thread_list.RemoveThreadByID(tid, false); local
559 thread_sp.reset();
833 ThreadSP thread_sp (old_thread_list.FindThreadByID (GetID(), false));
834 if (!thread_sp) {
835 thread_sp.reset(CreateNewPOSIXThread(*this, GetID()));
841 new_thread_list.AddThread(thread_sp);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DDebug.h388 for (auto thread_sp : m_threads)
390 if (thread_sp->GetID() == tid)
391 return thread_sp;
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DIOHandler.cpp3007 FrameTreeDelegate (const ThreadSP &thread_sp) : argument
3011 if (thread_sp)
3012 m_thread_wp = thread_sp;
3022 ThreadSP thread_sp = m_thread_wp.lock(); local
3023 if (thread_sp)
3026 StackFrameSP frame_sp = thread_sp->GetStackFrameAtIndex(frame_idx);
3051 ThreadSP thread_sp = m_thread_wp.lock(); local
3052 if (thread_sp)
3055 thread_sp->SetSelectedFrameByIndex(frame_idx);
3061 SetThread (ThreadSP thread_sp) argument
3090 ThreadSP thread_sp = m_thread_wp.lock(); local
3115 ThreadSP thread_sp = process_sp->GetThreadList().GetSelectedThread(); local
3151 ThreadSP thread_sp = m_thread_wp.lock(); local
4170 ThreadSP thread_sp = threads.GetThreadAtIndex(i); local
[all...]

Completed in 305 milliseconds

12