|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/tools/lldb/scripts/LLDBWrapPython.cpp80388 lldb::ThreadSP& thread,
tools/lldb/include/lldb/API/SBThread.h 36 SBThread(const lldb::ThreadSP &lldb_object_sp);
221 void SetThread(const lldb::ThreadSP &lldb_object_sp);
tools/lldb/include/lldb/Core/ValueObject.h 344 lldb::ThreadSP GetThreadSP() const {
1037 lldb::ThreadSP GetThreadSP() const;
tools/lldb/include/lldb/Expression/FunctionCaller.h 102 virtual unsigned CompileFunction(lldb::ThreadSP thread_to_use_sp,
tools/lldb/include/lldb/Expression/UtilityFunction.h 102 lldb::ThreadSP compilation_thread,
tools/lldb/include/lldb/Target/DynamicLoader.h 204 const lldb::ThreadSP thread,
tools/lldb/include/lldb/Target/ExecutionContext.h 182 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; }
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
tools/lldb/include/lldb/Target/ExecutionContextScope.h 40 virtual lldb::ThreadSP CalculateThread() = 0;
tools/lldb/include/lldb/Target/LanguageRuntime.h 123 lldb::ThreadSP thread_sp) {
127 virtual lldb::ThreadSP GetBacktraceThreadFromException(
tools/lldb/include/lldb/Target/MemoryHistory.h 21 typedef std::vector<lldb::ThreadSP> HistoryThreads;
tools/lldb/include/lldb/Target/OperatingSystem.h 62 virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) {
66 virtual bool IsOperatingSystemPluginThread(const lldb::ThreadSP &thread_sp);
tools/lldb/include/lldb/Target/Process.h 2070 lldb::ThreadSP CreateOSPluginThread(lldb::tid_t tid, lldb::addr_t context);
2237 lldb::ThreadSP CalculateThread() override { return lldb::ThreadSP(); }
tools/lldb/include/lldb/Target/Queue.h 80 std::vector<lldb::ThreadSP> GetThreads();
tools/lldb/include/lldb/Target/QueueItem.h 92 lldb::ThreadSP GetExtendedBacktraceThread(ConstString type);
tools/lldb/include/lldb/Target/RegisterContext.h 186 lldb::ThreadSP CalculateThread() override;
tools/lldb/include/lldb/Target/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(); }
486 lldb::ThreadSP CalculateThread() override;
tools/lldb/include/lldb/Target/StopInfo.h 32 void SetThread(const lldb::ThreadSP &thread_sp) { m_thread_wp = thread_sp; }
34 lldb::ThreadSP GetThread() const { return m_thread_wp.lock(); }
tools/lldb/include/lldb/Target/SystemRuntime.h 134 virtual lldb::ThreadSP GetExtendedBacktraceThread(lldb::ThreadSP thread,
134 virtual lldb::ThreadSP GetExtendedBacktraceThread(lldb::ThreadSP thread,
156 virtual lldb::ThreadSP
292 virtual bool SafeToCallFunctionsOnThisThread(lldb::ThreadSP thread_sp) {
tools/lldb/include/lldb/Target/Target.h 1019 lldb::ThreadSP CalculateThread() override;
tools/lldb/include/lldb/Target/Thread.h 82 ThreadEventData(const lldb::ThreadSP thread_sp);
84 ThreadEventData(const lldb::ThreadSP thread_sp, const StackID &stack_id);
100 static lldb::ThreadSP GetThreadFromEvent(const Event *event_ptr);
106 lldb::ThreadSP GetThread() const { return m_thread_sp; }
111 lldb::ThreadSP m_thread_sp;
452 virtual bool SetBackingThread(const lldb::ThreadSP &thread_sp) {
456 virtual lldb::ThreadSP GetBackingThread() const { return lldb::ThreadSP(); }
1068 lldb::ThreadSP CalculateThread() override;
1169 lldb::ThreadSP GetCurrentExceptionBacktrace();
tools/lldb/include/lldb/Target/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);
tools/lldb/include/lldb/Target/ThreadList.h 42 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);
103 lldb::ThreadSP GetBackingThread(const lldb::ThreadSP &real_thread);
103 lldb::ThreadSP GetBackingThread(const lldb::ThreadSP &real_thread);
tools/lldb/source/API/SBExecutionContext.cpp 117 ThreadSP thread_sp(m_exe_ctx_sp->GetThreadSP());
tools/lldb/source/API/SBFrame.cpp 722 ThreadSP thread_sp(exe_ctx.GetThreadSP());
tools/lldb/source/API/SBProcess.cpp 214 ThreadSP thread_sp;
232 ThreadSP thread_sp;
433 ThreadSP thread_sp;
729 ThreadSP thread_sp;
748 ThreadSP thread_sp;
tools/lldb/source/API/SBQueue.cpp 100 const std::vector<ThreadSP> thread_list(queue_sp->GetThreads());
104 ThreadSP thread_sp = thread_list[idx];
153 ThreadSP thread_sp = m_threads[idx].lock();
tools/lldb/source/API/SBQueueItem.cpp 105 ThreadSP thread_sp;
tools/lldb/source/API/SBThread.cpp 66 SBThread::SBThread(const ThreadSP &lldb_object_sp)
432 void SBThread::SetThread(const ThreadSP &lldb_object_sp) {
439 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
448 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
1348 ThreadSP real_thread(exe_ctx.GetThreadSP());
1355 ThreadSP new_thread_sp(
1376 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
1385 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
1396 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
1407 ThreadSP thread_sp(m_opaque_sp->GetThreadSP());
tools/lldb/source/API/SBValue.cpp 181 ThreadSP GetThreadSP() {
1078 ThreadSP thread_sp;
tools/lldb/source/Commands/CommandObjectProcess.cpp 564 ThreadSP sel_thread_sp(GetDefaultThread()->shared_from_this());
tools/lldb/source/Commands/CommandObjectTarget.cpp 3340 ThreadSP thread(threads.GetThreadAtIndex(0));
tools/lldb/source/Commands/CommandObjectThread.cpp 108 for (ThreadSP thread_sp : process->Threads())
129 ThreadSP thread =
167 ThreadSP thread = process->GetThreadList().FindThreadByIndexID(
335 ThreadSP ext_thread_sp = runtime->GetExtendedBacktraceThread(
352 ThreadSP thread_sp =
1450 ThreadSP thread_sp =
1492 ThreadSP thread_sp =
1507 ThreadSP exception_thread_sp = thread_sp->GetCurrentExceptionBacktrace();
1671 ThreadSP thread_sp = m_exe_ctx.GetThreadSP();
1895 ThreadSP thread_sp =
tools/lldb/source/Core/Debugger.cpp 860 ThreadSP thread_sp(process_sp->GetThreadList().GetSelectedThread());
1380 ThreadSP thread_sp(
tools/lldb/source/Core/Disassembler.cpp 353 ThreadSP thread_sp = exe_ctx.GetThreadSP();
tools/lldb/source/Core/IOHandler.cpp 2452 ThreadSP GetThread(const TreeItem &item) {
2460 ThreadSP thread_sp = GetThread(item);
2477 ThreadSP thread_sp = GetThread(item);
2509 ThreadSP thread_sp = GetThread(item);
2513 ThreadSP selected_thread_sp = thread_list.GetSelectedThread();
3566 ThreadSP thread_sp = threads.GetThreadAtIndex(i);
tools/lldb/source/Core/ValueObject.cpp 2987 ThreadSP thread_sp(exe_ctx.GetThreadSP());
3069 ThreadSP thread_sp(m_exe_ctx_ref.GetThreadSP());
3413 lldb::ThreadSP ValueObjectManager::GetThreadSP() const {
tools/lldb/source/Expression/Materializer.cpp 1396 lldb::ThreadSP thread_sp = m_thread_wp.lock();
tools/lldb/source/Expression/UserExpression.cpp 196 lldb::ThreadSP thread_sp = exe_ctx.GetThreadSP();
tools/lldb/source/Expression/UtilityFunction.cpp 63 lldb::ThreadSP thread_to_use_sp, Status &error) {
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp 298 ThreadSP thread = process->GetThreadList().GetSelectedThread();
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp 565 const lldb::ThreadSP thread,
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h 46 const lldb::ThreadSP thread,
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp 1038 const lldb::ThreadSP thread_sp,
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h 50 const lldb::ThreadSP thread,
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp 107 ThreadSP thread_sp(m_process->GetThreadList().GetThreadAtIndex(0));
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp 133 ThreadSP thread_sp(m_process->GetThreadList().GetThreadAtIndex(0));
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp 657 const lldb::ThreadSP thread,
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h 52 const lldb::ThreadSP thread,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp 64 ClangFunctionCaller::CompileFunction(lldb::ThreadSP thread_to_use_sp,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h 133 unsigned CompileFunction(lldb::ThreadSP thread_to_use_sp,
tools/lldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp 116 ThreadSP thread_sp =
260 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP();
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp 79 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP();
162 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP();
266 ThreadSP new_thread_sp(history_thread);
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp 277 ThreadSP lldb_thread = process_sp->GetThreadList().FindThreadByID(
308 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP();
859 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP();
1033 ThreadSP new_thread_sp(history_thread);
tools/lldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp 119 ThreadSP thread_sp = exe_ctx_ref.GetThreadSP();
216 ThreadSP thread_sp = context->exe_ctx_ref.GetThreadSP();
331 ThreadSP new_thread_sp(history_thread);
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp 535 ThreadSP thread_sp) {
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h 76 lldb::ThreadSP thread_sp) override;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp 469 ThreadSP thread_sp) {
488 ThreadSP AppleObjCRuntime::GetBacktraceThreadFromException(
560 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs));
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h 91 lldb::ThreadSP thread_sp) override;
93 lldb::ThreadSP GetBacktraceThreadFromException(
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp 1298 ThreadSP thread_sp = process->GetThreadList().GetExpressionExecutionThread();
1560 ThreadSP thread_sp = process->GetThreadList().GetExpressionExecutionThread();
2675 ThreadSP thread_sp = frame_sp->GetThread();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp 761 ThreadSP thread_sp(thread.shared_from_this());
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp 140 ThreadSP new_thread_sp(history_thread);
157 ThreadSP thread_sp =
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 6137 ThreadSP thread_sp(thread_list.GetThreadAtIndex(thread_idx));
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp 201 ThreadSP thread_sp(CreateThreadFromThreadInfo(
225 ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo(
229 ThreadSP thread_sp;
267 ThreadSP core_thread_sp(
275 ThreadSP backing_core_thread_sp(core_thread_sp->GetBackingThread());
374 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid,
408 ThreadSP thread_sp(
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h 62 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
69 lldb::ThreadSP CreateThreadFromThreadInfo(
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 597 ThreadSP thread_sp(process->GetThreadList().GetExpressionExecutionThread());
756 ThreadSP thread_sp = process->GetThreadList().GetExpressionExecutionThread();
tools/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp 28 ThreadSP thread_sp(m_thread_wp.lock());
39 ThreadSP backing_thread_sp(thread_sp->GetBackingThread());
tools/lldb/source/Plugins/Process/Utility/ThreadMemory.h 77 bool SetBackingThread(const lldb::ThreadSP &thread_sp) override {
84 lldb::ThreadSP GetBackingThread() const override {
96 lldb::ThreadSP m_backing_thread_sp;
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 269 lldb::ThreadSP thread_sp(new ThreadElfCore(*this, td));
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 1658 ThreadSP thread_sp(
1678 ThreadSP old_thread_sp(old_thread_list_copy.GetThreadAtIndex(i, false));
1688 void ProcessGDBRemote::SetThreadPc(const ThreadSP &thread_sp, uint64_t index) {
1755 ThreadSP ProcessGDBRemote::SetThreadStopInfo(
1764 ThreadSP thread_sp;
1823 if (ThreadSP memory_thread_sp =
2004 lldb::ThreadSP
2352 ThreadSP thread_sp = SetThreadStopInfo(
2510 ThreadSP thread_sp = threads.GetThreadAtIndex(i);
2546 ThreadSP thread_sp = threads.GetThreadAtIndex(i);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h 359 lldb::ThreadSP SetThreadStopInfo(StructuredData::Dictionary *thread_dict);
361 lldb::ThreadSP
425 void SetThreadPc(const lldb::ThreadSP &thread_sp, uint64_t index);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp 521 ThreadSP thread_sp(new ThreadMachCore(*this, tid));
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 264 lldb::ThreadSP stop_thread;
399 lldb::ThreadSP thread_sp(new ThreadMinidump(*this, thread, context));
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 177 lldb::ThreadSP &thread, std::string &output);
2594 ThreadSP thread_sp(thread->shared_from_this());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp 135 ThreadSP thread_sp(thread.shared_from_this());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp 144 ThreadSP thread_sp(thread.shared_from_this());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp 141 ThreadSP thread_sp(thread.shared_from_this());
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp 219 bool SystemRuntimeMacOSX::SafeToCallFunctionsOnThisThread(ThreadSP thread_sp) {
454 ThreadSP SystemRuntimeMacOSX::GetExtendedBacktraceThread(ThreadSP real_thread,
454 ThreadSP SystemRuntimeMacOSX::GetExtendedBacktraceThread(ThreadSP real_thread,
456 ThreadSP originating_thread_sp;
469 ThreadSP cur_thread_sp(
506 ThreadSP
508 ThreadSP return_thread_sp;
511 ThreadSP cur_thread_sp(
544 ThreadSP
547 ThreadSP extended_thread_sp;
684 ThreadSP cur_thread_sp(
713 for (ThreadSP thread_sp : m_process->Threads()) {
749 ThreadSP cur_thread_sp(
844 ThreadSP cur_thread_sp(
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h 58 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;
tools/lldb/source/Target/ExecutionContext.cpp 39 ExecutionContext::ExecutionContext(const lldb::ThreadSP &thread_sp)
68 lldb::ThreadSP thread_sp(thread_wp.lock());
254 void ExecutionContext::SetThreadSP(const lldb::ThreadSP &thread_sp) {
311 void ExecutionContext::SetContext(const lldb::ThreadSP &thread_sp) {
441 lldb::ThreadSP thread_sp(exe_ctx.GetThreadSP());
478 void ExecutionContextRef::SetThreadSP(const lldb::ThreadSP &thread_sp) {
520 lldb::ThreadSP thread_sp(
581 lldb::ThreadSP ExecutionContextRef::GetThreadSP() const {
582 lldb::ThreadSP thread_sp(m_thread_wp.lock());
608 lldb::ThreadSP thread_sp(GetThreadSP());
tools/lldb/source/Target/OperatingSystem.cpp 50 const lldb::ThreadSP &thread_sp) {
tools/lldb/source/Target/Process.cpp 869 ThreadSP curr_thread(thread_list.GetSelectedThread());
870 ThreadSP thread;
881 ThreadSP plan_thread;
882 ThreadSP other_thread;
1269 ThreadSP Process::CreateOSPluginThread(lldb::tid_t tid, lldb::addr_t context) {
3983 lldb::ThreadSP thread_sp = curr_thread_list.GetThreadAtIndex(idx);
4705 lldb::ThreadSP selected_thread_sp = GetThreadList().GetSelectedThread();
4988 ThreadSP thread_sp =
5476 ThreadSP thread_sp(GetThreadList().FindThreadByID(thread_id_array[i]));
tools/lldb/source/Target/Queue.cpp 40 std::vector<lldb::ThreadSP> Queue::GetThreads() {
41 std::vector<ThreadSP> result;
44 for (ThreadSP thread_sp : process_sp->Threads()) {
tools/lldb/source/Target/QueueItem.cpp 43 ThreadSP QueueItem::GetExtendedBacktraceThread(ConstString type) {
45 ThreadSP return_thread;
tools/lldb/source/Target/RegisterContext.cpp 418 ThreadSP RegisterContext::CalculateThread() {
tools/lldb/source/Target/StackFrame.cpp 51 StackFrame::StackFrame(const ThreadSP &thread_sp, user_id_t frame_idx,
77 StackFrame::StackFrame(const ThreadSP &thread_sp, user_id_t frame_idx,
103 StackFrame::StackFrame(const ThreadSP &thread_sp, user_id_t frame_idx,
174 ThreadSP thread_sp = GetThread();
196 ThreadSP thread_sp(GetThread());
224 ThreadSP thread_sp(GetThread());
307 ThreadSP thread_sp(GetThread());
1131 ThreadSP thread_sp(GetThread());
1768 ThreadSP thread_sp(GetThread());
1779 ThreadSP thread_sp(GetThread());
1785 ThreadSP StackFrame::CalculateThread() { return GetThread(); }
tools/lldb/source/Target/StopInfo.cpp 38 ThreadSP thread_sp(m_thread_wp.lock());
45 ThreadSP thread_sp(m_thread_wp.lock());
53 ThreadSP thread_sp(m_thread_wp.lock());
105 ThreadSP thread_sp(m_thread_wp.lock());
136 ThreadSP thread_sp(m_thread_wp.lock());
165 ThreadSP thread_sp(m_thread_wp.lock());
186 ThreadSP thread_sp(m_thread_wp.lock());
264 ThreadSP thread_sp(m_thread_wp.lock());
651 ThreadSP thread_sp(m_thread_wp.lock());
692 ThreadSP thread_sp(m_thread_wp.lock());
918 ThreadSP thread_sp(m_thread_wp.lock());
925 ThreadSP thread_sp(m_thread_wp.lock());
933 ThreadSP thread_sp(m_thread_wp.lock());
952 ThreadSP thread_sp(m_thread_wp.lock());
962 ThreadSP thread_sp(m_thread_wp.lock());
1072 ThreadSP thread_sp(m_thread_wp.lock());
1088 ThreadSP thread_sp(m_thread_wp.lock());
1172 ThreadSP thread_sp = stop_info_sp->GetThread();
tools/lldb/source/Target/SystemRuntime.cpp 48 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread,
48 ThreadSP SystemRuntime::GetExtendedBacktraceThread(ThreadSP thread,
tools/lldb/source/Target/Target.cpp 2095 ThreadSP Target::CalculateThread() { return ThreadSP(); }
2587 lldb::ThreadSP cur_thread_sp = cur_threadlist.GetThreadAtIndex(i);
tools/lldb/source/Target/Thread.cpp 163 Thread::ThreadEventData::ThreadEventData(const lldb::ThreadSP thread_sp)
166 Thread::ThreadEventData::ThreadEventData(const lldb::ThreadSP thread_sp,
187 ThreadSP Thread::ThreadEventData::GetThreadFromEvent(const Event *event_ptr) {
188 ThreadSP thread_sp;
208 ThreadSP thread_sp = event_data->GetThread();
643 lldb::ThreadSP backing_thread_sp(GetBackingThread());
1582 ThreadSP Thread::CalculateThread() { return shared_from_this(); }
2212 ThreadSP Thread::GetCurrentExceptionBacktrace() {
tools/lldb/source/Target/ThreadCollection.cpp 24 void ThreadCollection::AddThread(const ThreadSP &thread_sp) {
29 void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) {
45 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp,
59 ThreadSP ThreadCollection::GetThreadAtIndex(uint32_t idx) {
61 ThreadSP thread_sp;
tools/lldb/source/Target/ThreadList.cpp 59 lldb::ThreadSP ThreadList::GetExpressionExecutionThread() {
62 ThreadSP expr_thread_sp = FindThreadByID(m_expression_tid_stack.back());
90 ThreadSP ThreadList::GetThreadAtIndex(uint32_t idx, bool can_update) {
96 ThreadSP thread_sp;
102 ThreadSP ThreadList::FindThreadByID(lldb::tid_t tid, bool can_update) {
108 ThreadSP thread_sp;
120 ThreadSP ThreadList::FindThreadByProtocolID(lldb::tid_t tid, bool can_update) {
126 ThreadSP thread_sp;
138 ThreadSP ThreadList::RemoveThreadByID(lldb::tid_t tid, bool can_update) {
144 ThreadSP thread_sp;
157 ThreadSP ThreadList::RemoveThreadByProtocolID(lldb::tid_t tid,
164 ThreadSP thread_sp;
177 ThreadSP ThreadList::GetThreadSPForThreadPtr(Thread *thread_ptr) {
178 ThreadSP thread_sp;
194 ThreadSP ThreadList::GetBackingThread(const ThreadSP &real_thread) {
194 ThreadSP ThreadList::GetBackingThread(const ThreadSP &real_thread) {
197 ThreadSP thread_sp;
208 ThreadSP ThreadList::FindThreadByIndexID(uint32_t index_id, bool can_update) {
214 ThreadSP thread_sp;
244 for (lldb::ThreadSP thread_sp : m_threads) {
298 ThreadSP thread_sp(*pos);
303 ThreadSP thread_sp(*pos);
348 ThreadSP thread_sp(*pos);
372 ThreadSP thread_sp(*pos);
403 ThreadSP thread_sp(*pos);
555 ThreadSP thread_sp(*pos);
583 ThreadSP thread_sp(*pos);
593 ThreadSP thread_to_run;
607 ThreadSP thread_sp(*pos);
625 ThreadSP thread_sp(*pos);
642 ThreadSP thread_sp(*pos);
648 ThreadSP ThreadList::GetSelectedThread() {
650 ThreadSP thread_sp = FindThreadByID(m_selected_tid);
662 ThreadSP selected_thread_sp(FindThreadByID(tid));
677 ThreadSP selected_thread_sp(FindThreadByIndexID(index_id));
691 ThreadSP selected_thread_sp(FindThreadByID(tid));
722 ThreadSP backing_thread = m_threads[idx]->GetBackingThread();
747 lldb::ThreadSP thread_sp)
tools/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp 212 lldb::ThreadSP &thread, std::string &output) {