Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadList.cpp95 ThreadSP thread_sp; in GetThreadAtIndex()
107 ThreadSP thread_sp; in FindThreadByID()
125 ThreadSP thread_sp; in FindThreadByProtocolID()
143 ThreadSP thread_sp; in RemoveThreadByID()
163 ThreadSP thread_sp; in RemoveThreadByProtocolID()
177 ThreadSP thread_sp; in GetThreadSPForThreadPtr()
193 ThreadSP ThreadList::GetBackingThread(const ThreadSP &real_thread) { in GetBackingThread()
196 ThreadSP thread_sp; in GetBackingThread()
213 ThreadSP thread_sp; in FindThreadByIndexID()
297 ThreadSP thread_sp(*pos); in ShouldStop()
[all …]
H A DThreadCollection.cpp25 void ThreadCollection::AddThread(const ThreadSP &thread_sp) { in AddThread()
30 void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) { in AddThreadSortedByIndexID()
39 [](const ThreadSP &lhs, const ThreadSP &rhs) -> bool { in AddThreadSortedByIndexID()
46 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp, in InsertThread()
60 ThreadSP ThreadCollection::GetThreadAtIndex(uint32_t idx) { in GetThreadAtIndex()
62 ThreadSP thread_sp; in GetThreadAtIndex()
H A DStopInfo.cpp39 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid()
46 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid()
54 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe()
108 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo()
139 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
168 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify()
189 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription()
267 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
659 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
701 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
[all …]
H A DSystemRuntime.cpp51 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread, in GetExtendedBacktraceThread()
53 return ThreadSP(); in GetExtendedBacktraceThread()
H A DExecutionContext.cpp40 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp) in ExecutionContext()
69 lldb::ThreadSP thread_sp(thread_wp.lock()); in ExecutionContext()
263 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
320 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { in SetContext()
450 lldb::ThreadSP thread_sp(exe_ctx.GetThreadSP()); in operator =()
487 void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
529 lldb::ThreadSP thread_sp( in SetTargetPtr()
590 lldb::ThreadSP ExecutionContextRef::GetThreadSP() const { in GetThreadSP()
591 lldb::ThreadSP thread_sp(m_thread_wp.lock()); in GetThreadSP()
617 lldb::ThreadSP thread_sp(GetThreadSP()); in GetFrameSP()
H A DQueue.cpp41 std::vector<lldb::ThreadSP> Queue::GetThreads() { in GetThreads()
42 std::vector<ThreadSP> result; in GetThreads()
45 for (ThreadSP thread_sp : process_sp->Threads()) { in GetThreads()
H A DQueueItem.cpp44 ThreadSP QueueItem::GetExtendedBacktraceThread(ConstString type) { in GetExtendedBacktraceThread()
46 ThreadSP return_thread; in GetExtendedBacktraceThread()
/freebsd-12.1/contrib/llvm/tools/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.h23 typedef std::vector<lldb::ThreadSP> collection;
24 typedef LockingAdaptedIterable<collection, lldb::ThreadSP, vector_adapter,
36 void AddThread(const lldb::ThreadSP &thread_sp);
38 void AddThreadSortedByIndexID(const lldb::ThreadSP &thread_sp);
40 void InsertThread(const lldb::ThreadSP &thread_sp, uint32_t idx);
45 lldb::ThreadSP GetThreadAtIndex(uint32_t idx);
H A DSystemRuntime.h155 virtual lldb::ThreadSP GetExtendedBacktraceThread(lldb::ThreadSP thread,
179 virtual lldb::ThreadSP
182 return lldb::ThreadSP(); in GetExtendedBacktraceForQueueItem()
332 virtual bool SafeToCallFunctionsOnThisThread(lldb::ThreadSP thread_sp) { in SafeToCallFunctionsOnThisThread()
H A DExecutionContext.h211 void SetThreadSP(const lldb::ThreadSP &thread_sp);
263 lldb::ThreadSP GetThreadSP() const;
362 ExecutionContext(const lldb::ThreadSP &thread_sp);
550 const lldb::ThreadSP &GetThreadSP() const { return m_thread_sp; } in GetThreadSP()
572 void SetThreadSP(const lldb::ThreadSP &thread_sp);
627 void SetContext(const lldb::ThreadSP &thread_sp);
685 lldb::ThreadSP m_thread_sp; ///< The thread that owns the frame
H A DStackFrame.h111 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
116 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
121 StackFrame(const lldb::ThreadSP &thread_sp, lldb::user_id_t frame_idx,
128 lldb::ThreadSP GetThread() const { return m_thread_wp.lock(); } in GetThread()
537 lldb::ThreadSP CalculateThread() override;
H A DOperatingSystem.h71 virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) { in CreateThread()
72 return lldb::ThreadSP(); in CreateThread()
75 virtual bool IsOperatingSystemPluginThread(const lldb::ThreadSP &thread_sp);
H A DThread.h87 ThreadEventData(const lldb::ThreadSP thread_sp);
89 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id);
105 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr);
111 lldb::ThreadSP GetThread() const { return m_thread_sp; } in GetThread()
116 lldb::ThreadSP m_thread_sp;
479 virtual bool SetBackingThread(const lldb::ThreadSP &thread_sp) { in SetBackingThread()
483 virtual lldb::ThreadSP GetBackingThread() const { return lldb::ThreadSP(); } in GetBackingThread()
1160 lldb::ThreadSP CalculateThread() override;
1258 lldb::ThreadSP GetCurrentExceptionBacktrace();
H A DLanguageRuntime.h124 lldb::ThreadSP thread_sp) { in GetExceptionObjectForThread()
128 virtual lldb::ThreadSP GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
130 return lldb::ThreadSP(); in GetBacktraceThreadFromException()
H A DStopInfo.h35 void SetThread(const lldb::ThreadSP &thread_sp) { m_thread_wp = thread_sp; } in SetThread()
37 lldb::ThreadSP GetThread() const { return m_thread_wp.lock(); } in GetThread()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp202 ThreadSP thread_sp( in UpdateThreadList()
226 ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo( in CreateThreadFromThreadInfo()
230 ThreadSP thread_sp; in CreateThreadFromThreadInfo()
233 return ThreadSP(); in CreateThreadFromThreadInfo()
268 ThreadSP core_thread_sp( in CreateThreadFromThreadInfo()
276 ThreadSP backing_core_thread_sp(core_thread_sp->GetBackingThread()); in CreateThreadFromThreadInfo()
375 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread()
409 ThreadSP thread_sp( in CreateThread()
417 return ThreadSP(); in CreateThread()
H A DOperatingSystemPython.h71 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
78 lldb::ThreadSP CreateThreadFromThreadInfo(
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DThreadMemory.h78 bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { in SetBackingThread()
85 lldb::ThreadSP GetBackingThread() const override { in GetBackingThread()
97 lldb::ThreadSP m_backing_thread_sp;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp469 ThreadSP thread_sp) { in GetExceptionObjectForThread()
487 ThreadSP AppleObjCRuntime::GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
491 if (!reserved_dict) return ThreadSP(); in GetBacktraceThreadFromException()
494 if (!reserved_dict) return ThreadSP(); in GetBacktraceThreadFromException()
518 if (error.Fail()) return ThreadSP(); in GetBacktraceThreadFromException()
537 if (!return_addresses) return ThreadSP(); in GetBacktraceThreadFromException()
557 if (pcs.empty()) return ThreadSP(); in GetBacktraceThreadFromException()
559 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs, 0, false)); in GetBacktraceThreadFromException()
H A DAppleObjCRuntime.h93 lldb::ThreadSP thread_sp) override;
95 lldb::ThreadSP GetBacktraceThreadFromException(
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DMainThreadCheckerRuntime.cpp78 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData()
161 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit()
268 ThreadSP new_thread_sp(history_thread); in GetBacktracesFromExtendedStopInfo()
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBThread.cpp60 SBThread::SBThread(const ThreadSP &lldb_object_sp) in SBThread()
459 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetThreadID()
466 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetIndexID()
1435 ThreadSP real_thread(exe_ctx.GetThreadSP()); in GetExtendedBacktraceThread()
1442 ThreadSP new_thread_sp( in GetExtendedBacktraceThread()
1481 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetExtendedBacktraceOriginatingIndexID()
1488 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentException()
1495 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in GetCurrentExceptionBacktrace()
1502 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in SafeToCallFunctions()
1509 ThreadSP thread_sp(m_opaque_sp->GetThreadSP()); in operator ->()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DUBSanRuntime.cpp118 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData()
215 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit()
333 ThreadSP new_thread_sp(history_thread); in GetBacktracesFromExtendedStopInfo()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/MemoryHistory/asan/
H A DMemoryHistoryASan.cpp142 ThreadSP new_thread_sp(history_thread); in CreateHistoryThreadFromValueObject()
161 ThreadSP thread_sp = in GetHistoryThreads()

1234