/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | ThreadList.cpp | 59 lldb::ThreadSP ThreadList::GetExpressionExecutionThread() { in GetExpressionExecutionThread() 62 ThreadSP expr_thread_sp = FindThreadByID(m_expression_tid_stack.back()); in GetExpressionExecutionThread() 90 ThreadSP ThreadList::GetThreadAtIndex(uint32_t idx, bool can_update) { in GetThreadAtIndex() 96 ThreadSP thread_sp; in GetThreadAtIndex() 102 ThreadSP ThreadList::FindThreadByID(lldb::tid_t tid, bool can_update) { in FindThreadByID() 108 ThreadSP thread_sp; in FindThreadByID() 120 ThreadSP ThreadList::FindThreadByProtocolID(lldb::tid_t tid, bool can_update) { in FindThreadByProtocolID() 126 ThreadSP thread_sp; in FindThreadByProtocolID() 138 ThreadSP ThreadList::RemoveThreadByID(lldb::tid_t tid, bool can_update) { in RemoveThreadByID() 144 ThreadSP thread_sp; in RemoveThreadByID() [all …]
|
H A D | ThreadCollection.cpp | 24 void ThreadCollection::AddThread(const ThreadSP &thread_sp) { in AddThread() 29 void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) { in AddThreadSortedByIndexID() 38 [](const ThreadSP &lhs, const ThreadSP &rhs) -> bool { in AddThreadSortedByIndexID() 45 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp, in InsertThread() 59 ThreadSP ThreadCollection::GetThreadAtIndex(uint32_t idx) { in GetThreadAtIndex() 61 ThreadSP thread_sp; in GetThreadAtIndex()
|
H A D | StopInfo.cpp | 41 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid() 48 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid() 56 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe() 108 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo() 152 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() 186 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() 264 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() 781 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() 882 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() 1060 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() [all …]
|
H A D | SystemRuntime.cpp | 46 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread, in GetExtendedBacktraceThread() 48 return ThreadSP(); in GetExtendedBacktraceThread()
|
H A D | ExecutionContext.cpp | 37 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp) in ExecutionContext() 66 lldb::ThreadSP thread_sp(thread_wp.lock()); in ExecutionContext() 253 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP() 310 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { in SetContext() 435 lldb::ThreadSP thread_sp(exe_ctx.GetThreadSP()); in operator =() 472 void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP() 514 lldb::ThreadSP thread_sp( in SetTargetPtr() 576 lldb::ThreadSP ExecutionContextRef::GetThreadSP() const { in GetThreadSP() 577 lldb::ThreadSP thread_sp(m_thread_wp.lock()); in GetThreadSP() 603 lldb::ThreadSP thread_sp(GetThreadSP()); in GetFrameSP()
|
H A D | Queue.cpp | 40 std::vector<lldb::ThreadSP> Queue::GetThreads() { in GetThreads() 41 std::vector<ThreadSP> result; in GetThreads() 44 for (ThreadSP thread_sp : process_sp->Threads()) { in GetThreads()
|
H A D | QueueItem.cpp | 43 ThreadSP QueueItem::GetExtendedBacktraceThread(ConstString type) { in GetExtendedBacktraceThread() 45 ThreadSP return_thread; in GetExtendedBacktraceThread()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | ThreadList.h | 43 lldb::ThreadSP GetSelectedThread(); 55 ExpressionExecutionThreadPusher(lldb::ThreadSP thread_sp); 67 lldb::ThreadSP GetExpressionExecutionThread(); 88 lldb::ThreadSP GetThreadAtIndex(uint32_t idx, bool can_update = true); 90 lldb::ThreadSP FindThreadByID(lldb::tid_t tid, bool can_update = true); 92 lldb::ThreadSP FindThreadByProtocolID(lldb::tid_t tid, 95 lldb::ThreadSP RemoveThreadByID(lldb::tid_t tid, bool can_update = true); 97 lldb::ThreadSP RemoveThreadByProtocolID(lldb::tid_t tid, 100 lldb::ThreadSP FindThreadByIndexID(uint32_t index_id, bool can_update = true); 102 lldb::ThreadSP GetThreadSPForThreadPtr(Thread *thread_ptr); [all …]
|
H A D | ThreadCollection.h | 22 typedef std::vector<lldb::ThreadSP> collection; 23 typedef LockingAdaptedIterable<collection, lldb::ThreadSP, vector_adapter, 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); 44 lldb::ThreadSP GetThreadAtIndex(uint32_t idx);
|
H A D | SystemRuntime.h | 135 virtual lldb::ThreadSP GetExtendedBacktraceThread(lldb::ThreadSP thread, 157 virtual lldb::ThreadSP 160 return lldb::ThreadSP(); in GetExtendedBacktraceForQueueItem() 293 virtual bool SafeToCallFunctionsOnThisThread(lldb::ThreadSP thread_sp) { in SafeToCallFunctionsOnThisThread()
|
H A D | ExecutionContext.h | 182 void SetThreadSP(const lldb::ThreadSP &thread_sp); 226 lldb::ThreadSP GetThreadSP() const; 306 ExecutionContext(const lldb::ThreadSP &thread_sp); 464 const lldb::ThreadSP &GetThreadSP() const { return m_thread_sp; } in GetThreadSP() 478 void SetThreadSP(const lldb::ThreadSP &thread_sp); 517 void SetContext(const lldb::ThreadSP &thread_sp); 563 lldb::ThreadSP m_thread_sp; ///< The thread that owns the frame
|
H A D | OperatingSystem.h | 58 virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) { in CreateThread() 59 return lldb::ThreadSP(); in CreateThread() 62 virtual bool IsOperatingSystemPluginThread(const lldb::ThreadSP &thread_sp);
|
H A D | StackFrame.h | 108 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx, 113 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx, 119 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx, 127 lldb::ThreadSP GetThread() const { return m_thread_wp.lock(); } in GetThread() 501 lldb::ThreadSP CalculateThread() override;
|
H A D | Thread.h | 86 ThreadEventData(const lldb::ThreadSP thread_sp); 88 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id); 104 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr); 110 lldb::ThreadSP GetThread() const { return m_thread_sp; } in GetThread() 115 lldb::ThreadSP m_thread_sp; 468 virtual bool SetBackingThread(const lldb::ThreadSP &thread_sp) { in SetBackingThread() 472 virtual lldb::ThreadSP GetBackingThread() const { return lldb::ThreadSP(); } in GetBackingThread() 1118 lldb::ThreadSP CalculateThread() override; 1234 lldb::ThreadSP GetCurrentExceptionBacktrace();
|
H A D | LanguageRuntime.h | 154 lldb::ThreadSP thread_sp) { in GetExceptionObjectForThread() 158 virtual lldb::ThreadSP GetBacktraceThreadFromException( in GetBacktraceThreadFromException() 160 return lldb::ThreadSP(); in GetBacktraceThreadFromException()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
H A D | OperatingSystemPython.cpp | 201 ThreadSP thread_sp(CreateThreadFromThreadInfo( in UpdateThreadList() 225 ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo( in CreateThreadFromThreadInfo() 229 ThreadSP thread_sp; in CreateThreadFromThreadInfo() 232 return ThreadSP(); in CreateThreadFromThreadInfo() 267 ThreadSP core_thread_sp( in CreateThreadFromThreadInfo() 275 ThreadSP backing_core_thread_sp(core_thread_sp->GetBackingThread()); in CreateThreadFromThreadInfo() 359 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread() 378 ThreadSP thread_sp( in CreateThread() 386 return ThreadSP(); in CreateThread()
|
H A D | OperatingSystemPython.h | 61 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override; 68 lldb::ThreadSP CreateThreadFromThreadInfo(
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectThreadUtil.cpp | 58 for (ThreadSP thread_sp : process->Threads()) in DoExecute() 75 ThreadSP thread = in DoExecute() 112 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute() 178 for (ThreadSP thread_sp : process.Threads()) in DoExecute() 194 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | ThreadMemory.h | 77 bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { in SetBackingThread() 84 lldb::ThreadSP GetBackingThread() const override { in GetBackingThread() 96 lldb::ThreadSP m_backing_thread_sp;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | ThreadDecoder.h | 30 ThreadDecoder(const lldb::ThreadSP &thread_sp, TraceIntelPT &trace); 51 lldb::ThreadSP m_thread_sp;
|
H A D | DecodedThread.h | 154 lldb::ThreadSP thread_sp, 232 lldb::ThreadSP GetThread(); 267 lldb::ThreadSP m_thread_sp;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCRuntime.cpp | 490 ThreadSP thread_sp) { in GetExceptionObjectForThread() 514 static ThreadSP FailExceptionParsing(llvm::StringRef msg) { in FailExceptionParsing() 517 return ThreadSP(); in FailExceptionParsing() 520 ThreadSP AppleObjCRuntime::GetBacktraceThreadFromException( in GetBacktraceThreadFromException() 556 if (error.Fail()) return ThreadSP(); in GetBacktraceThreadFromException() 602 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs)); in GetBacktraceThreadFromException()
|
H A D | AppleObjCRuntime.h | 95 lldb::ThreadSP thread_sp) override; 97 lldb::ThreadSP GetBacktraceThreadFromException(
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBThread.cpp | 64 SBThread::SBThread(const ThreadSP &lldb_object_sp) in SBThread() 372 void SBThread::SetThread(const ThreadSP &lldb_object_sp) { in SetThread() 379 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetThreadID() 388 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetIndexID() 1272 ThreadSP real_thread(exe_ctx.GetThreadSP()); in GetExtendedBacktraceThread() 1279 ThreadSP new_thread_sp( in GetExtendedBacktraceThread() 1299 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetExtendedBacktraceOriginatingIndexID() 1308 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentException() 1318 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentExceptionBacktrace() 1328 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in SafeToCallFunctions() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
H A D | InstrumentationRuntimeMainThreadChecker.cpp | 83 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData() 162 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit() 269 ThreadSP new_thread_sp = std::make_shared<HistoryThread>( in GetBacktracesFromExtendedStopInfo()
|