Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DThreadList.h42 lldb::ThreadSP GetSelectedThread();
54 ExpressionExecutionThreadPusher(lldb::ThreadSP thread_sp);
66 lldb::ThreadSP GetExpressionExecutionThread();
87 lldb::ThreadSP GetThreadAtIndex(uint32_t idx, bool can_update = true);
89 lldb::ThreadSP FindThreadByID(lldb::tid_t tid, bool can_update = true);
91 lldb::ThreadSP FindThreadByProtocolID(lldb::tid_t tid,
94 lldb::ThreadSP RemoveThreadByID(lldb::tid_t tid, bool can_update = true);
96 lldb::ThreadSP RemoveThreadByProtocolID(lldb::tid_t tid,
99 lldb::ThreadSP FindThreadByIndexID(uint32_t index_id, bool can_update = true);
101 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.h106 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
111 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
117 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
125 lldb::ThreadSP GetThread() const { return m_thread_wp.lock(); } in GetThread()
485 lldb::ThreadSP CalculateThread() override;
H A DThread.h84 ThreadEventData(const lldb::ThreadSP thread_sp);
86 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id);
102 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr);
108 lldb::ThreadSP GetThread() const { return m_thread_sp; } in GetThread()
113 lldb::ThreadSP m_thread_sp;
456 virtual bool SetBackingThread(const lldb::ThreadSP &thread_sp) { in SetBackingThread()
460 virtual lldb::ThreadSP GetBackingThread() const { return lldb::ThreadSP(); } in GetBackingThread()
1089 lldb::ThreadSP CalculateThread() override;
1198 lldb::ThreadSP GetCurrentExceptionBacktrace();
H A DLanguageRuntime.h121 lldb::ThreadSP thread_sp) { in GetExceptionObjectForThread()
125 virtual lldb::ThreadSP GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
127 return lldb::ThreadSP(); in GetBacktraceThreadFromException()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DThreadList.cpp60 lldb::ThreadSP ThreadList::GetExpressionExecutionThread() { in GetExpressionExecutionThread()
63 ThreadSP expr_thread_sp = FindThreadByID(m_expression_tid_stack.back()); in GetExpressionExecutionThread()
91 ThreadSP ThreadList::GetThreadAtIndex(uint32_t idx, bool can_update) { in GetThreadAtIndex()
97 ThreadSP thread_sp; in GetThreadAtIndex()
103 ThreadSP ThreadList::FindThreadByID(lldb::tid_t tid, bool can_update) { in FindThreadByID()
109 ThreadSP thread_sp; in FindThreadByID()
121 ThreadSP ThreadList::FindThreadByProtocolID(lldb::tid_t tid, bool can_update) { in FindThreadByProtocolID()
127 ThreadSP thread_sp; in FindThreadByProtocolID()
139 ThreadSP ThreadList::RemoveThreadByID(lldb::tid_t tid, bool can_update) { in RemoveThreadByID()
145 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 DSystemRuntime.cpp46 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread, in GetExtendedBacktraceThread()
48 return ThreadSP(); in GetExtendedBacktraceThread()
H A DStopInfo.cpp40 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid()
47 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid()
55 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe()
107 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo()
149 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
183 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription()
261 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
779 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
883 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
1059 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
[all …]
H A DExecutionContext.cpp37 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp) in ExecutionContext()
66 lldb::ThreadSP thread_sp(thread_wp.lock()); in ExecutionContext()
252 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
309 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { in SetContext()
434 lldb::ThreadSP thread_sp(exe_ctx.GetThreadSP()); in operator =()
471 void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
513 lldb::ThreadSP thread_sp( in SetTargetPtr()
574 lldb::ThreadSP ExecutionContextRef::GetThreadSP() const { in GetThreadSP()
575 lldb::ThreadSP thread_sp(m_thread_wp.lock()); in GetThreadSP()
601 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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp192 ThreadSP thread_sp(CreateThreadFromThreadInfo( in UpdateThreadList()
216 ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo( in CreateThreadFromThreadInfo()
220 ThreadSP thread_sp; in CreateThreadFromThreadInfo()
223 return ThreadSP(); in CreateThreadFromThreadInfo()
258 ThreadSP core_thread_sp( in CreateThreadFromThreadInfo()
266 ThreadSP backing_core_thread_sp(core_thread_sp->GetBackingThread()); in CreateThreadFromThreadInfo()
365 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread()
399 ThreadSP thread_sp( in CreateThread()
407 return ThreadSP(); in CreateThread()
H A DOperatingSystemPython.h61 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
68 lldb::ThreadSP CreateThreadFromThreadInfo(
/openbsd-src/gnu/llvm/lldb/source/Plugins/SystemRuntime/MacOSX/
H A DSystemRuntimeMacOSX.h58 lldb::ThreadSP
59 GetExtendedBacktraceThread(lldb::ThreadSP thread,
62 lldb::ThreadSP
66 lldb::ThreadSP GetExtendedBacktraceFromItemRef(lldb::addr_t item_ref);
98 bool SafeToCallFunctionsOnThisThread(lldb::ThreadSP thread_sp) override;
H A DSystemRuntimeMacOSX.cpp222 bool SystemRuntimeMacOSX::SafeToCallFunctionsOnThisThread(ThreadSP thread_sp) { in SafeToCallFunctionsOnThisThread()
457 ThreadSP SystemRuntimeMacOSX::GetExtendedBacktraceThread(ThreadSP real_thread, in GetExtendedBacktraceThread()
459 ThreadSP originating_thread_sp; in GetExtendedBacktraceThread()
472 ThreadSP cur_thread_sp( in GetExtendedBacktraceThread()
549 ThreadSP
551 ThreadSP return_thread_sp; in GetExtendedBacktraceFromItemRef()
554 ThreadSP cur_thread_sp( in GetExtendedBacktraceFromItemRef()
587 ThreadSP
590 ThreadSP extended_thread_sp; in GetExtendedBacktraceForQueueItem()
728 ThreadSP cur_thread_sp( in PopulateQueueList()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp60 for (ThreadSP thread_sp : process->Threads()) in DoExecute()
77 ThreadSP thread = in DoExecute()
114 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute()
181 for (ThreadSP thread_sp : process.Threads()) in DoExecute()
197 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx); in DoExecute()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/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.h153 lldb::ThreadSP thread_sp,
231 lldb::ThreadSP GetThread();
266 lldb::ThreadSP m_thread_sp;
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp484 ThreadSP thread_sp) { in GetExceptionObjectForThread()
508 static ThreadSP FailExceptionParsing(llvm::StringRef msg) { in FailExceptionParsing()
511 return ThreadSP(); in FailExceptionParsing()
514 ThreadSP AppleObjCRuntime::GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
549 if (error.Fail()) return ThreadSP(); in GetBacktraceThreadFromException()
598 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs)); in GetBacktraceThreadFromException()
/openbsd-src/gnu/llvm/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()
1251 ThreadSP real_thread(exe_ctx.GetThreadSP()); in GetExtendedBacktraceThread()
1258 ThreadSP new_thread_sp( in GetExtendedBacktraceThread()
1278 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetExtendedBacktraceOriginatingIndexID()
1287 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentException()
1297 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentExceptionBacktrace()
1307 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in SafeToCallFunctions()
[all …]

12345