Home
last modified time | relevance | path

Searched refs:GetThreadID (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestThreadInfoTrailingComma.py24 self.assertEqual(process.GetThreadAtIndex(0).GetThreadID(), 1)
25 self.assertEqual(process.GetThreadAtIndex(1).GetThreadID(), 2)
26 self.assertEqual(process.GetThreadAtIndex(2).GetThreadID(), 3)
27 self.assertEqual(process.GetThreadAtIndex(3).GetThreadID(), 4)
H A DTestStopPCs.py45 self.assertEqual(th0.GetThreadID(), 0x1ff0d)
46 self.assertEqual(th1.GetThreadID(), 0x2ff0d)
H A DTestThreadSelectionBug.py44 self.assertNotEqual(thread.GetThreadID(), 0x3)
51 self.assertEqual(thread.GetThreadID(), 0x3)
/llvm-project-15.0.7/lldb/test/API/functionalities/thread/state_after_expression/
H A DTestStateAfterExpression.py36 self.assertNotEqual(thread.GetThreadID(), other_thread.GetThreadID(),
/llvm-project-15.0.7/lldb/test/API/functionalities/thread/thread_specific_break/
H A DTestThreadSpecificBreakpoint.py75 stopped_threads[0].GetThreadID(),
76 main_thread.GetThreadID(),
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DNativeProcessWindows.cpp463 if (NativeThreadWindows *thread = GetThreadByID(record.GetThreadID())) { in OnDebugException()
477 StopThread(record.GetThreadID(), StopReason::eStopReasonWatchpoint, in OnDebugException()
482 StopThread(record.GetThreadID(), StopReason::eStopReasonTrace); in OnDebugException()
495 StopThread(record.GetThreadID(), StopReason::eStopReasonBreakpoint); in OnDebugException()
498 GetThreadByID(record.GetThreadID())) { in OnDebugException()
519 if (NativeThreadWindows *thread = GetThreadByID(record.GetThreadID())) in OnDebugException()
546 StopThread(record.GetThreadID(), StopReason::eStopReasonException, in OnDebugException()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cpp92 tid_t GetThreadID(uptr index) const override;
189 pid_t tid = suspended_threads_list_.GetThreadID(i); in ResumeAllThreads()
205 internal_ptrace(PTRACE_KILL, suspended_threads_list_.GetThreadID(i), in KillAllThreads()
535 tid_t SuspendedThreadsListLinux::GetThreadID(uptr index) const { in GetThreadID() function in __sanitizer::SuspendedThreadsListLinux
557 pid_t tid = GetThreadID(index); in GetRegistersAndSP()
H A Dsanitizer_stoptheworld_win.cpp41 tid_t GetThreadID(uptr index) const override;
69 tid_t SuspendedThreadsListWindows::GetThreadID(uptr index) const { in GetThreadID() function in __sanitizer::__anonfe3ecff70111::SuspendedThreadsListWindows
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp55 tid_t GetThreadID(uptr index) const;
316 tid_t SuspendedThreadsListNetBSD::GetThreadID(uptr index) const { in GetThreadID() function in __sanitizer::SuspendedThreadsListNetBSD
339 lwpid_t tid = GetThreadID(index); in GetRegistersAndSP()
H A Dsanitizer_stoptheworld_mac.cpp34 tid_t GetThreadID(uptr index) const override;
111 tid_t SuspendedThreadsListMac::GetThreadID(uptr index) const { in GetThreadID() function in __sanitizer::SuspendedThreadsListMac
H A Dsanitizer_stoptheworld.h41 virtual tid_t GetThreadID(uptr index) const { UNIMPLEMENTED(); } in GetThreadID() function
/llvm-project-15.0.7/libcxxabi/src/
H A Dcxa_guard_impl.h309 uint32_t (*GetThreadID)() = PlatformThreadID>
314 has_thread_id_support(_thread_id_address != nullptr && GetThreadID != nullptr) {} in InitByteGlobalMutex()
383 LazyValue<uint32_t, GetThreadID> current_thread_id;
604 uint32_t (*GetThreadID)() = PlatformThreadID>
605 …exGuard = GuardObject<InitByteGlobalMutex<Mutex, CondVar, global_mutex, global_cond, GetThreadID>>;
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DRegisterContextDarwin_arm64.cpp175 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
183 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
191 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
199 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadDBG()
210 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
221 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
232 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
243 SetError(set, Write, DoWriteDBG(GetThreadID(), set, dbg)); in WriteDBG()
H A DRegisterContextDarwin_i386.cpp476 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
484 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
492 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
503 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
514 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
525 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
H A DRegisterContextDarwin_x86_64.cpp520 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
528 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
536 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
547 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
558 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
569 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
H A DRegisterContextDarwin_arm.cpp940 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
948 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
956 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
964 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadDBG()
975 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
986 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
997 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
1008 SetError(set, Write, DoWriteDBG(GetThreadID(), set, dbg)); in WriteDBG()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBThread.i145 GetThreadID;
147 GetThreadID () const;
452 …id = property(GetThreadID, None, doc='''A read only property that returns the thread ID as an inte…
/llvm-project-15.0.7/lldb/test/API/functionalities/scripted_process/
H A Dstack_core_scripted_process.py37 … self.threads[corefile_thread.GetThreadID()] = StackCoreScriptedThread(self, structured_data)
132 self.id = self.corefile_thread.GetThreadID()
144 and self.get_thread_id() == self.corefile_thread.GetThreadID():
/llvm-project-15.0.7/lldb/source/API/
H A DSBTrace.cpp89 m_opaque_sp->Start(std::vector<lldb::tid_t>{thread.GetThreadID()}, in Start()
112 else if (llvm::Error err = m_opaque_sp->Stop({thread.GetThreadID()})) in Stop()
/llvm-project-15.0.7/lldb/test/API/functionalities/process_save_core_minidump/
H A DTestProcessSaveCoreMinidump.py39 thread_id = thread.GetThreadID()
83 thread_id = thread.GetThreadID()
/llvm-project-15.0.7/lldb/test/API/python_api/lldbutil/iter/
H A DTestLLDBIterator.py114 ID = thread.GetThreadID()
118 self.assertEqual(frame.GetThread().GetThreadID(), ID)
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/netbsd-core/
H A DTestNetBSDCore.py152 self.assertEqual(thread.GetThreadID(), 1)
176 self.assertEqual(thread.GetThreadID(), 2)
206 self.assertEqual(thread.GetThreadID(), 2)
/llvm-project-15.0.7/lldb/test/API/lang/c/array_types/
H A DTestArrayTypes.py127 tidstr = "tid = %u" % thread.GetThreadID()
129 tidstr = "tid = 0x%4.4x" % thread.GetThreadID()
/llvm-project-15.0.7/lldb/test/API/python_api/default-constructor/
H A Dsb_breakpointlocation.py16 obj.GetThreadID()
/llvm-project-15.0.7/lldb/source/Target/
H A DRegisterContext.cpp225 if (context->GetThreadID() != GetThreadID()) in CopyFromRegisterContext()
256 lldb::tid_t RegisterContext::GetThreadID() const { return m_thread.GetID(); } in GetThreadID() function in RegisterContext

123