Home
last modified time | relevance | path

Searched refs:ThreadSP (Results 1 – 25 of 107) sorted by relevance

12345

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp59 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 DThreadCollection.cpp24 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 DStopInfo.cpp41 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 DSystemRuntime.cpp46 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread, in GetExtendedBacktraceThread()
48 return ThreadSP(); in GetExtendedBacktraceThread()
H A DExecutionContext.cpp37 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 DQueue.cpp40 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 DQueueItem.cpp43 ThreadSP QueueItem::GetExtendedBacktraceThread(ConstString type) { in GetExtendedBacktraceThread()
45 ThreadSP return_thread; in GetExtendedBacktraceThread()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadList.h43 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 DThreadCollection.h22 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 DSystemRuntime.h135 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 DExecutionContext.h182 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 DOperatingSystem.h58 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 DStackFrame.h108 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 DThread.h86 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 DLanguageRuntime.h154 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 DOperatingSystemPython.cpp201 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 DOperatingSystemPython.h61 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 DCommandObjectThreadUtil.cpp58 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 DThreadMemory.h77 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 DThreadDecoder.h30 ThreadDecoder(const lldb::ThreadSP &thread_sp, TraceIntelPT &trace);
51 lldb::ThreadSP m_thread_sp;
H A DDecodedThread.h154 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 DAppleObjCRuntime.cpp490 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 DAppleObjCRuntime.h95 lldb::ThreadSP thread_sp) override;
97 lldb::ThreadSP GetBacktraceThreadFromException(
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBThread.cpp64 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 DInstrumentationRuntimeMainThreadChecker.cpp83 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()

12345