| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadList.cpp | 97 ThreadSP thread_sp; in GetThreadAtIndex() local 100 return thread_sp; in GetThreadAtIndex() 109 ThreadSP thread_sp; in FindThreadByID() local 118 return thread_sp; in FindThreadByID() 127 ThreadSP thread_sp; in FindThreadByProtocolID() local 136 return thread_sp; in FindThreadByProtocolID() 155 return thread_sp; in RemoveThreadByID() 175 return thread_sp; in RemoveThreadByProtocolID() 192 return thread_sp; in GetThreadSPForThreadPtr() 206 return thread_sp; in GetBackingThread() [all …]
|
| H A D | StopInfo.cpp | 42 if (thread_sp) in IsValid() 49 if (thread_sp) { in MakeStopInfoValid() 58 if (thread_sp) { in HasTargetRunSinceMe() 109 if (thread_sp) { in StoreBPInfo() 153 if (thread_sp) { in ShouldStopSynchronous() 266 if (thread_sp) { in PerformAction() 1059 if (thread_sp) in ShouldStopSynchronous() 1066 if (thread_sp) in ShouldStop() 1243 if (thread_sp) in ShouldStop() 1259 if (thread_sp) in PerformAction() [all …]
|
| H A D | ThreadCollection.cpp | 24 void ThreadCollection::AddThread(const ThreadSP &thread_sp) { in AddThread() argument 26 m_threads.push_back(thread_sp); in AddThread() 32 const uint32_t thread_index_id = thread_sp->GetIndexID(); in AddThreadSortedByIndexID() 34 m_threads.push_back(thread_sp); in AddThreadSortedByIndexID() 37 llvm::upper_bound(m_threads, thread_sp, in AddThreadSortedByIndexID() 41 thread_sp); in AddThreadSortedByIndexID() 49 m_threads.insert(m_threads.begin() + idx, thread_sp); in InsertThread() 51 m_threads.push_back(thread_sp); in InsertThread() 61 ThreadSP thread_sp; in GetThreadAtIndex() local 63 thread_sp = m_threads[idx]; in GetThreadAtIndex() [all …]
|
| H A D | ExecutionContext.cpp | 39 if (thread_sp) in ExecutionContext() 40 SetContext(thread_sp); in ExecutionContext() 67 if (thread_sp) in ExecutionContext() 313 if (thread_sp) { in SetContext() 437 if (thread_sp) in operator =() 473 if (thread_sp) { in SetThreadSP() 583 if (!thread_sp || !thread_sp->IsValid()) { in GetThreadSP() 595 if (thread_sp && !thread_sp->IsValid()) in GetThreadSP() 596 thread_sp.reset(); in GetThreadSP() 598 return thread_sp; in GetThreadSP() [all …]
|
| H A D | ThreadPlanStack.cpp | 425 ThreadSP thread_sp = current_threads.FindThreadByID(cur_tid); in Update() local 426 if (!thread_sp) in Update() 445 if (!thread_sp) in DumpPlans() 448 if (thread_sp) in DumpPlans() 449 index_id = thread_sp->GetIndexID(); in DumpPlans() 477 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); in DumpPlansForTID() local 480 if (!thread_sp) { in DumpPlansForTID() 486 if (thread_sp) in DumpPlansForTID() 487 index_id = thread_sp->GetIndexID(); in DumpPlansForTID() 516 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); in PrunePlansForTID() local [all …]
|
| H A D | OperatingSystem.cpp | 47 const lldb::ThreadSP &thread_sp) { in IsOperatingSystemPluginThread() argument 48 if (thread_sp) in IsOperatingSystemPluginThread() 49 return thread_sp->IsOperatingSystemPluginThread(); in IsOperatingSystemPluginThread()
|
| H A D | Queue.cpp | 44 for (ThreadSP thread_sp : process_sp->Threads()) { in GetThreads() local 45 if (thread_sp->GetQueueID() == m_queue_id) { in GetThreads() 46 result.push_back(thread_sp); in GetThreads()
|
| H A D | AssertFrameRecognizer.cpp | 133 ThreadSP thread_sp = frame_sp->GetThread(); in RecognizeFrame() local 134 ProcessSP process_sp = thread_sp->GetProcess(); in RecognizeFrame() 148 prev_frame_sp = thread_sp->GetStackFrameAtIndex(frame_index); in RecognizeFrame() 172 StackFrameSP most_relevant_frame_sp = thread_sp->GetStackFrameAtIndex( in RecognizeFrame()
|
| H A D | StackFrame.cpp | 176 ThreadSP thread_sp = GetThread(); in GetFrameIndex() local 177 if (thread_sp) in GetFrameIndex() 198 ThreadSP thread_sp(GetThread()); in GetFrameCodeAddress() local 199 if (thread_sp) { in GetFrameCodeAddress() 255 ThreadSP thread_sp(GetThread()); in ChangePC() local 256 if (thread_sp) in ChangePC() 257 thread_sp->ClearStackFrames(); in ChangePC() 1140 if (thread_sp) in GetRegisterContext() 1755 ThreadSP thread_sp(GetThread()); in CalculateTarget() local 1756 if (thread_sp) { in CalculateTarget() [all …]
|
| H A D | TraceCursor.cpp | 18 TraceCursor::TraceCursor(lldb::ThreadSP thread_sp) in TraceCursor() argument 19 : m_exe_ctx_ref(ExecutionContext(thread_sp)) {} in TraceCursor()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 204 if (thread_sp) in UpdateThreadList() 205 new_thread_list.AddThread(thread_sp); in UpdateThreadList() 229 ThreadSP thread_sp; in CreateThreadFromThreadInfo() local 247 if (thread_sp) { in CreateThreadFromThreadInfo() 251 if (!IsOperatingSystemPluginThread(thread_sp)) { in CreateThreadFromThreadInfo() 255 thread_sp.reset(); in CreateThreadFromThreadInfo() 259 if (!thread_sp) { in CreateThreadFromThreadInfo() 283 return thread_sp; in CreateThreadFromThreadInfo() 378 ThreadSP thread_sp( in CreateThread() local 382 thread_list.AddThread(thread_sp); in CreateThread() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBQueueItem.cpp | 100 ThreadSP thread_sp; in GetExtendedBacktraceThread() local 102 thread_sp = m_queue_item_sp->GetExtendedBacktraceThread(type_const); in GetExtendedBacktraceThread() 103 if (thread_sp) { in GetExtendedBacktraceThread() 106 process_sp->GetExtendedThreadList().AddThread(thread_sp); in GetExtendedBacktraceThread() 107 result.SetThread(thread_sp); in GetExtendedBacktraceThread()
|
| H A D | SBQueue.cpp | 96 ThreadSP thread_sp = thread_list[idx]; in FetchThreads() local 97 if (thread_sp && thread_sp->IsValid()) { in FetchThreads() 98 m_threads.push_back(thread_sp); in FetchThreads() 145 ThreadSP thread_sp = m_threads[idx].lock(); in GetThreadAtIndex() local 146 if (thread_sp) { in GetThreadAtIndex() 147 sb_thread.SetThread(thread_sp); in GetThreadAtIndex()
|
| H A D | SBThread.cpp | 380 if (thread_sp) in GetThreadID() 381 return thread_sp->GetID(); in GetThreadID() 389 if (thread_sp) in GetIndexID() 390 return thread_sp->GetIndexID(); in GetIndexID() 1300 if (thread_sp) in GetExtendedBacktraceOriginatingIndexID() 1309 if (!thread_sp) in GetCurrentException() 1319 if (!thread_sp) in GetCurrentExceptionBacktrace() 1329 if (thread_sp) in SafeToCallFunctions() 1330 return thread_sp->SafeToCallFunctions(); in SafeToCallFunctions() 1346 if (!thread_sp) in GetSiginfo() [all …]
|
| H A D | SBExecutionContext.cpp | 106 ThreadSP thread_sp(m_exe_ctx_sp->GetThreadSP()); in GetThread() local 107 if (thread_sp) in GetThread() 108 sb_thread.SetThread(thread_sp); in GetThread()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 83 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData() local 85 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); in RetrieveReportData() 124 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { in RetrieveReportData() 125 StackFrameSP frame = thread_sp->GetStackFrameAtIndex(I); in RetrieveReportData() 146 d->AddIntegerItem("tid", thread_sp->GetIndexID()); in RetrieveReportData() 162 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() local 163 if (!process_sp || !thread_sp || in NotifyBreakpointHit() 178 thread_sp->SetStopInfo( in NotifyBreakpointHit() 180 *thread_sp, description, report)); in NotifyBreakpointHit()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 110 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData() local 112 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); in RetrieveReportData() 150 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { in RetrieveReportData() 151 const Address FCA = thread_sp->GetStackFrameAtIndex(I) in RetrieveReportData() 177 d->AddIntegerItem("tid", thread_sp->GetID()); in RetrieveReportData() 211 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() local 212 if (!process_sp || !thread_sp || in NotifyBreakpointHit() 223 thread_sp->SetStopInfo( in NotifyBreakpointHit() 225 *thread_sp, GetStopReasonDescription(report), report)); in NotifyBreakpointHit()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextThreadMemory.cpp | 28 ThreadSP thread_sp(m_thread_wp.lock()); in UpdateRegisterContext() local 29 if (thread_sp) { in UpdateRegisterContext() 30 ProcessSP process_sp(thread_sp->GetProcess()); in UpdateRegisterContext() 39 ThreadSP backing_thread_sp(thread_sp->GetBackingThread()); in UpdateRegisterContext() 44 if (os->IsOperatingSystemPluginThread(thread_sp)) in UpdateRegisterContext() 46 thread_sp.get(), m_register_data_addr); in UpdateRegisterContext()
|
| H A D | ThreadMemory.h | 77 bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { in SetBackingThread() argument 80 m_backing_thread_sp = thread_sp; in SetBackingThread() 81 return (bool)thread_sp; in SetBackingThread()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ |
| H A D | ReportRetriever.cpp | 63 ThreadSP thread_sp = in RetrieveReportData() local 66 if (!thread_sp) in RetrieveReportData() 70 thread_sp->GetSelectedFrame(DoNoSelectMostRelevantFrame); in RetrieveReportData() 208 if (ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP()) in NotifyBreakpointHit() local 209 thread_sp->SetStopInfo( in NotifyBreakpointHit() 211 *thread_sp, description, report)); in NotifyBreakpointHit()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.cpp | 1517 ThreadSP thread_sp( in DoUpdateThreadList() local 1519 if (!thread_sp) { in DoUpdateThreadList() 1522 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList() 1525 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList() 1528 SetThreadPc(thread_sp, i); in DoUpdateThreadList() 1643 ThreadSP thread_sp; in SetThreadStopInfo() local 1652 if (!thread_sp) { in SetThreadStopInfo() 1702 return thread_sp; in SetThreadStopInfo() 1715 thread_sp->SetStopInfo( in SetThreadStopInfo() 1834 thread_sp->SetStopInfo( in SetThreadStopInfo() [all …]
|
| /freebsd-14.2/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 | ExecutionContext.h | 182 void SetThreadSP(const lldb::ThreadSP &thread_sp); 306 ExecutionContext(const lldb::ThreadSP &thread_sp); 478 void SetThreadSP(const lldb::ThreadSP &thread_sp); 517 void SetContext(const lldb::ThreadSP &thread_sp);
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectThread.cpp | 205 ThreadSP thread_sp = in HandleOneThread() local 207 if (!thread_sp) { in HandleOneThread() 1368 ThreadSP thread_sp = in HandleOneThread() local 1370 if (!thread_sp) { in HandleOneThread() 1418 if (!thread_sp) { in HandleOneThread() 1466 if (!thread_sp) { in HandleOneThread() 2166 ThreadSP thread_sp = in GetSingleThreadFromArgs() local 2168 if (!thread_sp) in GetSingleThreadFromArgs() 2170 return thread_sp; in GetSingleThreadFromArgs() 2246 if (!thread_sp) { in DoExecute() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleLoader.cpp | 87 ThreadPostMortemTraceSP thread_sp = in ParseThread() local 89 process.GetThreadList().AddThread(thread_sp); in ParseThread() 90 return thread_sp; in ParseThread() 159 ThreadPostMortemTraceSP thread_sp = std::make_shared<ThreadPostMortemTrace>( in ParseKernel() local 161 thread_sp->SetName(formatv("kernel_cpu_{0}", cpu.id).str().c_str()); in ParseKernel() 162 process_sp->GetThreadList().AddThread(thread_sp); in ParseKernel() 163 parsed_process->threads.push_back(thread_sp); in ParseKernel()
|