Home
last modified time | relevance | path

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

12345

/external/llvm-project/lldb/include/lldb/Target/
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 …]
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);
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()
DExecutionContext.h182 void SetThreadSP(const lldb::ThreadSP &thread_sp);
226 lldb::ThreadSP GetThreadSP() const;
305 ExecutionContext(const lldb::ThreadSP &thread_sp);
463 const lldb::ThreadSP &GetThreadSP() const { return m_thread_sp; } in GetThreadSP()
477 void SetThreadSP(const lldb::ThreadSP &thread_sp);
516 void SetContext(const lldb::ThreadSP &thread_sp);
562 lldb::ThreadSP m_thread_sp; ///< The thread that owns the frame
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);
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()
478 lldb::ThreadSP CalculateThread() override;
DThread.h85 ThreadEventData(const lldb::ThreadSP thread_sp);
87 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id);
103 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr);
109 lldb::ThreadSP GetThread() const { return m_thread_sp; } in GetThread()
114 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()
1090 lldb::ThreadSP CalculateThread() override;
1191 lldb::ThreadSP GetCurrentExceptionBacktrace();
DLanguageRuntime.h120 lldb::ThreadSP thread_sp) { in GetExceptionObjectForThread()
124 virtual lldb::ThreadSP GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
126 return lldb::ThreadSP(); in GetBacktraceThreadFromException()
/external/llvm-project/lldb/source/Target/
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 …]
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()
DSystemRuntime.cpp46 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread, in GetExtendedBacktraceThread()
48 return ThreadSP(); in GetExtendedBacktraceThread()
DStopInfo.cpp38 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid()
45 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid()
53 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe()
105 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo()
136 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
165 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify()
186 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription()
264 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
651 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous()
692 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction()
[all …]
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()
DExecutionContext.cpp39 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp) in ExecutionContext()
68 lldb::ThreadSP thread_sp(thread_wp.lock()); in ExecutionContext()
254 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
311 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) { in SetContext()
441 lldb::ThreadSP thread_sp(exe_ctx.GetThreadSP()); in operator =()
478 void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) { in SetThreadSP()
520 lldb::ThreadSP thread_sp( in SetTargetPtr()
581 lldb::ThreadSP ExecutionContextRef::GetThreadSP() const { in GetThreadSP()
582 lldb::ThreadSP thread_sp(m_thread_wp.lock()); in GetThreadSP()
608 lldb::ThreadSP thread_sp(GetThreadSP()); in GetFrameSP()
DQueueItem.cpp43 ThreadSP QueueItem::GetExtendedBacktraceThread(ConstString type) { in GetExtendedBacktraceThread()
45 ThreadSP return_thread; in GetExtendedBacktraceThread()
/external/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp204 ThreadSP thread_sp(CreateThreadFromThreadInfo( in UpdateThreadList()
228 ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo( in CreateThreadFromThreadInfo()
232 ThreadSP thread_sp; in CreateThreadFromThreadInfo()
235 return ThreadSP(); in CreateThreadFromThreadInfo()
270 ThreadSP core_thread_sp( in CreateThreadFromThreadInfo()
278 ThreadSP backing_core_thread_sp(core_thread_sp->GetBackingThread()); in CreateThreadFromThreadInfo()
377 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread()
411 ThreadSP thread_sp( in CreateThread()
419 return ThreadSP(); in CreateThread()
DOperatingSystemPython.h64 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
71 lldb::ThreadSP CreateThreadFromThreadInfo(
/external/llvm-project/lldb/source/Plugins/SystemRuntime/MacOSX/
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;
DSystemRuntimeMacOSX.cpp221 bool SystemRuntimeMacOSX::SafeToCallFunctionsOnThisThread(ThreadSP thread_sp) { in SafeToCallFunctionsOnThisThread()
456 ThreadSP SystemRuntimeMacOSX::GetExtendedBacktraceThread(ThreadSP real_thread, in GetExtendedBacktraceThread()
458 ThreadSP originating_thread_sp; in GetExtendedBacktraceThread()
471 ThreadSP cur_thread_sp( in GetExtendedBacktraceThread()
508 ThreadSP
510 ThreadSP return_thread_sp; in GetExtendedBacktraceFromItemRef()
513 ThreadSP cur_thread_sp( in GetExtendedBacktraceFromItemRef()
546 ThreadSP
549 ThreadSP extended_thread_sp; in GetExtendedBacktraceForQueueItem()
686 ThreadSP cur_thread_sp( in PopulateQueueList()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/Utility/
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;
/external/llvm-project/lldb/source/Commands/
DCommandObjectThreadUtil.cpp47 for (ThreadSP thread_sp : process->Threads()) in DoExecute()
65 ThreadSP thread = in DoExecute()
103 ThreadSP thread = process->GetThreadList().FindThreadByIndexID( in DoExecute()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntime.cpp487 ThreadSP thread_sp) { in GetExceptionObjectForThread()
511 static ThreadSP FailExceptionParsing(llvm::StringRef msg) { in FailExceptionParsing()
514 return ThreadSP(); in FailExceptionParsing()
517 ThreadSP AppleObjCRuntime::GetBacktraceThreadFromException( in GetBacktraceThreadFromException()
553 if (error.Fail()) return ThreadSP(); in GetBacktraceThreadFromException()
602 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs)); in GetBacktraceThreadFromException()
DAppleObjCRuntime.h95 lldb::ThreadSP thread_sp) override;
97 lldb::ThreadSP GetBacktraceThreadFromException(
/external/llvm-project/lldb/unittests/Process/
DProcessEventDataTest.cpp128 ThreadSP CreateThread(ProcessSP &process_sp, bool should_stop, in CreateThread()
130 ThreadSP thread_sp = std::make_shared<DummyThread>(*process_sp.get(), 0); in CreateThread()
208 ThreadSP thread_sp = CreateThread(process_sp, true, true); in TEST_F()
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
DInstrumentationRuntimeMainThreadChecker.cpp88 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP(); in RetrieveReportData()
171 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP(); in NotifyBreakpointHit()
275 ThreadSP new_thread_sp(history_thread); in GetBacktracesFromExtendedStopInfo()

12345