/freebsd-current/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadCollection.cpp | 24 void ThreadCollection::AddThread(const ThreadSP &thread_sp) { argument 26 m_threads.push_back(thread_sp); 29 void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) { argument 32 const uint32_t thread_index_id = thread_sp->GetIndexID(); 34 m_threads.push_back(thread_sp); 37 llvm::upper_bound(m_threads, thread_sp, 41 thread_sp); local 45 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp, argument 49 m_threads.insert(m_threads.begin() + idx, thread_sp); 51 m_threads.push_back(thread_sp); 61 ThreadSP thread_sp; local [all...] |
H A D | ThreadList.cpp | 97 ThreadSP thread_sp; local 99 thread_sp = m_threads[idx]; 100 return thread_sp; 109 ThreadSP thread_sp; local 114 thread_sp = m_threads[idx]; 118 return thread_sp; 127 ThreadSP thread_sp; local 132 thread_sp = m_threads[idx]; 136 return thread_sp; 145 ThreadSP thread_sp; local 165 ThreadSP thread_sp; local 179 ThreadSP thread_sp; local 198 ThreadSP thread_sp; local 215 ThreadSP thread_sp; local 686 ThreadSP thread_sp = FindThreadByID(m_selected_tid); local 790 ExpressionExecutionThreadPusher( lldb::ThreadSP thread_sp) argument [all...] |
H A D | StopInfo.cpp | 41 ThreadSP thread_sp(m_thread_wp.lock()); 42 if (thread_sp) 43 return thread_sp->GetProcess()->GetStopID() == m_stop_id; 48 ThreadSP thread_sp(m_thread_wp.lock()); 49 if (thread_sp) { 50 m_stop_id = thread_sp->GetProcess()->GetStopID(); 51 m_resume_id = thread_sp->GetProcess()->GetResumeID(); 56 ThreadSP thread_sp(m_thread_wp.lock()); 58 if (thread_sp) { 59 lldb::StateType ret_type = thread_sp 782 assert(thread_sp); variable 1465 ThreadSP thread_sp = stop_info_sp->GetThread(); local [all...] |
H A D | OperatingSystem.cpp | 47 const lldb::ThreadSP &thread_sp) { 48 if (thread_sp) 49 return thread_sp->IsOperatingSystemPluginThread(); 46 IsOperatingSystemPluginThread( const lldb::ThreadSP &thread_sp) argument
|
H A D | ExecutionContext.cpp | 37 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp) argument 39 if (thread_sp) 40 SetContext(thread_sp); 66 lldb::ThreadSP thread_sp(thread_wp.lock()); 67 if (thread_sp) 68 SetContext(thread_sp); 253 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { argument 254 m_thread_sp = thread_sp; 310 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { argument 312 m_thread_sp = thread_sp; 472 SetThreadSP(const lldb::ThreadSP &thread_sp) argument [all...] |
H A D | TraceCursor.cpp | 18 TraceCursor::TraceCursor(lldb::ThreadSP thread_sp) argument 19 : m_exe_ctx_ref(ExecutionContext(thread_sp)) {}
|
H A D | Queue.cpp | 44 for (ThreadSP thread_sp : process_sp->Threads()) { 45 if (thread_sp->GetQueueID() == m_queue_id) { 46 result.push_back(thread_sp);
|
H A D | ThreadPlanStack.cpp | 425 ThreadSP thread_sp = current_threads.FindThreadByID(cur_tid); local 426 if (!thread_sp) 442 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); local 445 if (!thread_sp) 448 if (thread_sp) 449 index_id = thread_sp->GetIndexID(); 477 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); local 480 if (!thread_sp) { 486 if (thread_sp) 487 index_id = thread_sp 516 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); local [all...] |
H A D | AssertFrameRecognizer.cpp | 133 ThreadSP thread_sp = frame_sp->GetThread(); local 134 ProcessSP process_sp = thread_sp->GetProcess(); 148 prev_frame_sp = thread_sp->GetStackFrameAtIndex(frame_index); 172 StackFrameSP most_relevant_frame_sp = thread_sp->GetStackFrameAtIndex(
|
/freebsd-current/contrib/llvm-project/lldb/source/API/ |
H A D | SBQueueItem.cpp | 100 ThreadSP thread_sp; local 102 thread_sp = m_queue_item_sp->GetExtendedBacktraceThread(type_const); 103 if (thread_sp) { 106 process_sp->GetExtendedThreadList().AddThread(thread_sp); 107 result.SetThread(thread_sp);
|
H A D | SBExecutionContext.cpp | 106 ThreadSP thread_sp(m_exe_ctx_sp->GetThreadSP()); 107 if (thread_sp) 108 sb_thread.SetThread(thread_sp);
|
H A D | SBQueue.cpp | 96 ThreadSP thread_sp = thread_list[idx]; local 97 if (thread_sp && thread_sp->IsValid()) { 98 m_threads.push_back(thread_sp); 145 ThreadSP thread_sp = m_threads[idx].lock(); local 146 if (thread_sp) { 147 sb_thread.SetThread(thread_sp);
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ThreadCollection.h | 35 void AddThread(const lldb::ThreadSP &thread_sp); 37 void AddThreadSortedByIndexID(const lldb::ThreadSP &thread_sp); 39 void InsertThread(const lldb::ThreadSP &thread_sp, uint32_t idx);
|
H A D | OperatingSystem.h | 62 virtual bool IsOperatingSystemPluginThread(const lldb::ThreadSP &thread_sp);
|
H A D | ExecutionContext.h | 170 /// \a thread_sp. 172 /// If \a thread_sp is valid this object will create a weak reference to 182 void SetThreadSP(const lldb::ThreadSP &thread_sp); 306 ExecutionContext(const lldb::ThreadSP &thread_sp); 478 void SetThreadSP(const lldb::ThreadSP &thread_sp); 514 // If "thread_sp" is valid, then set the thread, process and target in this 515 // context. The frame context will be cleared. If "thread_sp" is not valid, 517 void SetContext(const lldb::ThreadSP &thread_sp);
|
H A D | StackFrame.h | 75 /// \param [in] thread_sp 107 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx, 112 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx, 118 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
H A D | OperatingSystemPython.cpp | 201 ThreadSP thread_sp(CreateThreadFromThreadInfo( 204 if (thread_sp) 205 new_thread_list.AddThread(thread_sp); 229 ThreadSP thread_sp; local 246 thread_sp = old_thread_list.FindThreadByID(tid, false); 247 if (thread_sp) { 251 if (!IsOperatingSystemPluginThread(thread_sp)) { 255 thread_sp.reset(); 259 if (!thread_sp) { 262 thread_sp [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextThreadMemory.cpp | 28 ThreadSP thread_sp(m_thread_wp.lock()); 29 if (thread_sp) { 30 ProcessSP process_sp(thread_sp->GetProcess()); 39 ThreadSP backing_thread_sp(thread_sp->GetBackingThread()); 44 if (os->IsOperatingSystemPluginThread(thread_sp)) 46 thread_sp.get(), m_register_data_addr);
|
H A D | ThreadMemory.h | 77 bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { 79 // thread_sp->GetID()); 80 m_backing_thread_sp = thread_sp; 81 return (bool)thread_sp;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | ThreadDecoder.h | 25 /// \param[in] thread_sp 30 ThreadDecoder(const lldb::ThreadSP &thread_sp, TraceIntelPT &trace);
|
H A D | ThreadDecoder.cpp | 21 ThreadDecoder::ThreadDecoder(const ThreadSP &thread_sp, TraceIntelPT &trace) argument 22 : m_thread_sp(thread_sp), m_trace(trace) {}
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
H A D | InstrumentationRuntimeMainThreadChecker.cpp | 83 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); 85 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); 124 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { 125 StackFrameSP frame = thread_sp->GetStackFrameAtIndex(I); 146 d->AddIntegerItem("tid", thread_sp->GetIndexID()); 162 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); local 163 if (!process_sp || !thread_sp || 178 thread_sp->SetStopInfo( 180 *thread_sp, description, report));
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
H A D | InstrumentationRuntimeUBSan.cpp | 110 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); 112 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); 150 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { 151 const Address FCA = thread_sp->GetStackFrameAtIndex(I) 177 d->AddIntegerItem("tid", thread_sp->GetID()); 211 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); local 212 if (!process_sp || !thread_sp || 223 thread_sp->SetStopInfo( 225 *thread_sp, GetStopReasonDescription(report), report));
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ |
H A D | ReportRetriever.cpp | 63 ThreadSP thread_sp = 66 if (!thread_sp) 70 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); 208 if (ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP()) 209 thread_sp->SetStopInfo( 211 *thread_sp, description, report));
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/MemoryHistory/asan/ |
H A D | MemoryHistoryASan.cpp | 152 ThreadSP thread_sp = 154 if (!thread_sp) 158 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame);
|