| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadList.cpp | 96 ThreadSP thread_sp; in GetThreadAtIndex() local 99 return thread_sp; in GetThreadAtIndex() 108 ThreadSP thread_sp; in FindThreadByID() local 117 return thread_sp; in FindThreadByID() 135 return thread_sp; in FindThreadByProtocolID() 154 return thread_sp; in RemoveThreadByID() 174 return thread_sp; in RemoveThreadByProtocolID() 191 return thread_sp; in GetThreadSPForThreadPtr() 205 return thread_sp; in GetBackingThread() 222 return thread_sp; in FindThreadByIndexID() [all …]
|
| H A D | StopInfo.cpp | 39 if (thread_sp) in IsValid() 46 if (thread_sp) { in MakeStopInfoValid() 55 if (thread_sp) { in HasTargetRunSinceMe() 106 if (thread_sp) { in StoreBPInfo() 137 if (thread_sp) { in ShouldStopSynchronous() 166 if (thread_sp) { in DoShouldNotify() 266 if (thread_sp) { in PerformAction() 956 if (thread_sp) in ShouldStopSynchronous() 963 if (thread_sp) in ShouldStop() 1134 if (thread_sp) in ShouldStop() [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() 41 thread_sp); in AddThreadSortedByIndexID() 45 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp, in InsertThread() argument 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 | 41 if (thread_sp) in ExecutionContext() 42 SetContext(thread_sp); in ExecutionContext() 69 if (thread_sp) in ExecutionContext() 314 if (thread_sp) { in SetContext() 442 if (thread_sp) in operator =() 478 if (thread_sp) { in SetThreadSP() 587 if (!thread_sp || !thread_sp->IsValid()) { in GetThreadSP() 599 if (thread_sp && !thread_sp->IsValid()) in GetThreadSP() 600 thread_sp.reset(); in GetThreadSP() 602 return thread_sp; in GetThreadSP() [all …]
|
| H A D | ThreadPlanStack.cpp | 419 ThreadSP thread_sp = current_threads.FindThreadByID(cur_tid); in Update() local 420 if (!thread_sp) in Update() 438 if (!thread_sp) in DumpPlans() 441 if (thread_sp) in DumpPlans() 442 index_id = thread_sp->GetIndexID(); in DumpPlans() 469 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); in DumpPlansForTID() local 472 if (!thread_sp) { in DumpPlansForTID() 478 if (thread_sp) in DumpPlansForTID() 479 index_id = thread_sp->GetIndexID(); in DumpPlansForTID() 507 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(tid); in PrunePlansForTID() local [all …]
|
| H A D | OperatingSystem.cpp | 48 const lldb::ThreadSP &thread_sp) { in IsOperatingSystemPluginThread() argument 49 if (thread_sp) in IsOperatingSystemPluginThread() 50 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 | StackFrame.cpp | 174 ThreadSP thread_sp = GetThread(); in GetFrameIndex() local 175 if (thread_sp) in GetFrameIndex() 196 ThreadSP thread_sp(GetThread()); in GetFrameCodeAddress() local 197 if (thread_sp) { in GetFrameCodeAddress() 253 ThreadSP thread_sp(GetThread()); in ChangePC() local 254 if (thread_sp) in ChangePC() 255 thread_sp->ClearStackFrames(); in ChangePC() 1127 if (thread_sp) in GetRegisterContext() 1734 ThreadSP thread_sp(GetThread()); in CalculateTarget() local 1735 if (thread_sp) { in CalculateTarget() [all …]
|
| H A D | TraceInstructionDumper.cpp | 163 ThreadSP thread_sp = m_cursor_up->GetExecutionContextRef().GetThreadSP(); in DumpInstructions() local 164 if (!thread_sp) { in DumpInstructions() 169 s.Printf("thread #%u: tid = %" PRIu64 "\n", thread_sp->GetIndexID(), in DumpInstructions() 170 thread_sp->GetID()); in DumpInstructions() 197 Target &target = thread_sp->GetProcess()->GetTarget(); in DumpInstructions()
|
| H A D | AssertFrameRecognizer.cpp | 136 ThreadSP thread_sp = frame_sp->GetThread(); in RecognizeFrame() local 137 ProcessSP process_sp = thread_sp->GetProcess(); in RecognizeFrame() 151 prev_frame_sp = thread_sp->GetStackFrameAtIndex(frame_index); in RecognizeFrame() 175 StackFrameSP most_relevant_frame_sp = thread_sp->GetStackFrameAtIndex( in RecognizeFrame()
|
| H A D | TraceCursor.cpp | 17 TraceCursor::TraceCursor(lldb::ThreadSP thread_sp) in TraceCursor() argument 18 : m_exe_ctx_ref(ExecutionContext(thread_sp)) {} in TraceCursor()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 207 if (thread_sp) in UpdateThreadList() 208 new_thread_list.AddThread(thread_sp); in UpdateThreadList() 232 ThreadSP thread_sp; in CreateThreadFromThreadInfo() local 250 if (thread_sp) { in CreateThreadFromThreadInfo() 254 if (!IsOperatingSystemPluginThread(thread_sp)) { in CreateThreadFromThreadInfo() 258 thread_sp.reset(); in CreateThreadFromThreadInfo() 262 if (!thread_sp) { in CreateThreadFromThreadInfo() 286 return thread_sp; in CreateThreadFromThreadInfo() 411 ThreadSP thread_sp( in CreateThread() local 415 thread_list.AddThread(thread_sp); in CreateThread() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 88 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData() local 89 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in RetrieveReportData() 128 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { in RetrieveReportData() 129 StackFrameSP frame = thread_sp->GetStackFrameAtIndex(I); in RetrieveReportData() 150 d->AddIntegerItem("tid", thread_sp->GetIndexID()); in RetrieveReportData() 166 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() local 167 if (!process_sp || !thread_sp || in NotifyBreakpointHit() 182 thread_sp->SetStopInfo( in NotifyBreakpointHit() 184 *thread_sp, description, report)); in NotifyBreakpointHit()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 115 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData() local 116 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in RetrieveReportData() 152 for (unsigned I = 0; I < thread_sp->GetStackFrameCount(); ++I) { in RetrieveReportData() 153 const Address FCA = thread_sp->GetStackFrameAtIndex(I) in RetrieveReportData() 179 d->AddIntegerItem("tid", thread_sp->GetID()); in RetrieveReportData() 213 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() local 214 if (!process_sp || !thread_sp || in NotifyBreakpointHit() 225 thread_sp->SetStopInfo( in NotifyBreakpointHit() 227 *thread_sp, GetStopReasonDescription(report), report)); in NotifyBreakpointHit()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBQueueItem.cpp | 105 ThreadSP thread_sp; in GetExtendedBacktraceThread() local 107 thread_sp = m_queue_item_sp->GetExtendedBacktraceThread(type_const); in GetExtendedBacktraceThread() 108 if (thread_sp) { in GetExtendedBacktraceThread() 111 process_sp->GetExtendedThreadList().AddThread(thread_sp); in GetExtendedBacktraceThread() 112 result.SetThread(thread_sp); in GetExtendedBacktraceThread()
|
| H A D | SBQueue.cpp | 102 ThreadSP thread_sp = thread_list[idx]; in FetchThreads() local 103 if (thread_sp && thread_sp->IsValid()) { in FetchThreads() 104 m_threads.push_back(thread_sp); in FetchThreads() 151 ThreadSP thread_sp = m_threads[idx].lock(); in GetThreadAtIndex() local 152 if (thread_sp) { in GetThreadAtIndex() 153 sb_thread.SetThread(thread_sp); in GetThreadAtIndex()
|
| H A D | SBThread.cpp | 386 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetThreadID() local 387 if (thread_sp) in GetThreadID() 388 return thread_sp->GetID(); in GetThreadID() 395 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetIndexID() local 396 if (thread_sp) in GetIndexID() 397 return thread_sp->GetIndexID(); in GetIndexID() 1323 if (thread_sp) in GetExtendedBacktraceOriginatingIndexID() 1332 if (!thread_sp) in GetCurrentException() 1343 if (!thread_sp) in GetCurrentExceptionBacktrace() 1354 if (thread_sp) in SafeToCallFunctions() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
| H A D | InstrumentationRuntimeASan.cpp | 118 ThreadSP thread_sp = in RetrieveReportData() local 120 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in RetrieveReportData() 262 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() local 263 if (thread_sp) in NotifyBreakpointHit() 264 thread_sp->SetStopInfo(InstrumentationRuntimeStopInfo:: in NotifyBreakpointHit() 266 *thread_sp, description, report)); in NotifyBreakpointHit()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | DecodedThread.cpp | 101 DecodedThread::DecodedThread(ThreadSP thread_sp, Error error) in DecodedThread() argument 102 : m_thread_sp(thread_sp) { in DecodedThread() 106 DecodedThread::DecodedThread(ThreadSP thread_sp, in DecodedThread() argument 109 : m_thread_sp(thread_sp), m_instructions(std::move(instructions)), in DecodedThread()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemote.cpp | 1628 ThreadSP thread_sp( in DoUpdateThreadList() local 1630 if (!thread_sp) { in DoUpdateThreadList() 1633 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList() 1636 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList() 1639 SetThreadPc(thread_sp, i); in DoUpdateThreadList() 1734 ThreadSP thread_sp; in SetThreadStopInfo() local 1745 if (!thread_sp) { in SetThreadStopInfo() 1752 if (thread_sp) { in SetThreadStopInfo() 1818 thread_sp->SetStopInfo( in SetThreadStopInfo() 1905 thread_sp->SetStopInfo( in SetThreadStopInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 47 for (ThreadSP thread_sp : process->Threads()) in DoExecute() local 48 tids.push_back(thread_sp->GetID()); in DoExecute() 168 for (ThreadSP thread_sp : process.Threads()) in DoExecute() local 169 tids.push_back(thread_sp->GetID()); in DoExecute()
|