Home
last modified time | relevance | path

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

123

/llvm-project/lldb/test/API/functionalities/gdb_remote_client/
H A DTestThreadInfoTrailingComma.py23 self.assertEqual(process.GetThreadAtIndex(0).GetThreadID(), 1)
24 self.assertEqual(process.GetThreadAtIndex(1).GetThreadID(), 2)
25 self.assertEqual(process.GetThreadAtIndex(2).GetThreadID(), 3)
26 self.assertEqual(process.GetThreadAtIndex(3).GetThreadID(), 4)
H A DTestStopPCs.py51 self.assertEqual(th0.GetThreadID(), 0x1FF0D)
52 self.assertEqual(th1.GetThreadID(), 0x2FF0D)
53 self.assertEqual(th2.GetThreadID(), 0x3FF0D)
H A DTestThreadSelectionBug.py46 self.assertNotEqual(thread.GetThreadID(), 0x3)
53 self.assertEqual(thread.GetThreadID(), 0x3)
/llvm-project/lldb/test/API/functionalities/thread/state_after_expression/
H A DTestStateAfterExpression.py37 thread.GetThreadID(), other_thread.GetThreadID(), "A different thread"
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DNativeProcessWindows.cpp467 if (NativeThreadWindows *thread = GetThreadByID(record.GetThreadID())) { in OnDebugException()
481 StopThread(record.GetThreadID(), StopReason::eStopReasonWatchpoint, in OnDebugException()
486 StopThread(record.GetThreadID(), StopReason::eStopReasonTrace); in OnDebugException()
499 StopThread(record.GetThreadID(), StopReason::eStopReasonBreakpoint); in OnDebugException()
502 GetThreadByID(record.GetThreadID())) { in OnDebugException()
523 if (NativeThreadWindows *thread = GetThreadByID(record.GetThreadID())) in OnDebugException()
550 StopThread(record.GetThreadID(), StopReason::eStopReasonException, in OnDebugException()
/llvm-project/lldb/test/API/macosx/corefile-exception-reason/
H A DTestCorefileExceptionReason.py33 live_tids.append(t.GetThreadID())
55 self.assertEqual(t.GetThreadID(), live_tids[i])
/llvm-project/lldb/test/API/functionalities/thread/thread_specific_break/
H A DTestThreadSpecificBreakpoint.py102 stopped_threads[0].GetThreadID(),
103 main_thread.GetThreadID(),
/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextDarwin_arm64.cpp174 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in ReadGPR()
182 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadFPU()
190 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadEXC()
198 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadDBG()
209 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
220 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
231 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
242 SetError(set, Write, DoWriteDBG(GetThreadID(), set, dbg)); in WriteDBG()
H A DRegisterContextDarwin_i386.cpp500 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in LogGPR()
508 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadGPR()
516 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadFPU()
527 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
538 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
549 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
H A DRegisterContextDarwin_arm.cpp986 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in GetSetForNativeRegNum()
994 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadGPR()
1002 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadFPU()
1010 SetError(set, Read, DoReadDBG(GetThreadID(), set, dbg)); in ReadEXC()
1021 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr));
1032 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu));
1043 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc));
1054 SetError(set, Write, DoWriteDBG(GetThreadID(), set, dbg));
H A DRegisterContextDarwin_x86_64.cpp549 SetError(set, Read, DoReadGPR(GetThreadID(), set, gpr)); in GetSetForNativeRegNum()
557 SetError(set, Read, DoReadFPU(GetThreadID(), set, fpu)); in ReadGPR()
565 SetError(set, Read, DoReadEXC(GetThreadID(), set, exc)); in ReadFPU()
576 SetError(set, Write, DoWriteGPR(GetThreadID(), set, gpr)); in WriteGPR()
587 SetError(set, Write, DoWriteFPU(GetThreadID(), set, fpu)); in WriteFPU()
598 SetError(set, Write, DoWriteEXC(GetThreadID(), set, exc)); in WriteEXC()
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cpp93 tid_t GetThreadID(uptr index) const override;
186 pid_t tid = suspended_threads_list_.GetThreadID(i); in SuspendThread()
202 internal_ptrace(PTRACE_KILL, suspended_threads_list_.GetThreadID(i), in ResumeAllThreads()
549 tid_t SuspendedThreadsListLinux::GetThreadID(uptr index) const { in ThreadCount()
571 pid_t tid = GetThreadID(index); in GetRegistersAndSP()
542 tid_t SuspendedThreadsListLinux::GetThreadID(uptr index) const { GetThreadID() function in __sanitizer::SuspendedThreadsListLinux
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::__anon9291efba0111::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;
114 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/libcxxabi/src/
H A Dcxa_guard_impl.h316 uint32_t (*GetThreadID)() = PlatformThreadID>
321 has_thread_id_support(_thread_id_address != nullptr && GetThreadID != nullptr) {} in InitByteGlobalMutex()
390 LazyValue<uint32_t, GetThreadID> current_thread_id;
622 uint32_t (*GetThreadID)() = PlatformThreadID>
623 using GlobalMutexGuard = GuardObject<InitByteGlobalMutex<Mutex, CondVar, global_mutex, global_cond, GetThreadID>>;
/llvm-project/lldb/test/API/functionalities/scripted_process/
H A Dstack_core_scripted_process.py42 self.threads[corefile_thread.GetThreadID()] = StackCoreScriptedThread(
145 self.id = self.corefile_thread.GetThreadID()
159 and self.get_thread_id() == self.corefile_thread.GetThreadID()
/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/
H A DTestNetBSDCore.py142 self.assertEqual(thread.GetThreadID(), 1)
166 self.assertEqual(thread.GetThreadID(), 2)
196 self.assertEqual(thread.GetThreadID(), 2)
/llvm-project/lldb/test/API/python_api/lldbutil/iter/
H A DTestLLDBIterator.py113 ID = thread.GetThreadID()
117 self.assertEqual(frame.GetThread().GetThreadID(), ID)
/llvm-project/lldb/source/API/
H A DSBTrace.cpp115 m_opaque_sp->Start(std::vector<lldb::tid_t>{thread.GetThreadID()}, in Start()
138 else if (llvm::Error err = m_opaque_sp->Stop({thread.GetThreadID()})) in Stop()
/llvm-project/lldb/examples/python/templates/
H A Dscripted_process.py415 self.threads[driving_thread.GetThreadID()] = (
489 self.id = self.driving_thread.GetThreadID()
503 and self.get_thread_id() == self.driving_thread.GetThreadID()
/llvm-project/lldb/test/API/lang/c/array_types/
H A DTestArrayTypes.py135 tidstr = "tid = %u" % thread.GetThreadID()
137 tidstr = "tid = 0x%4.4x" % thread.GetThreadID()
/llvm-project/lldb/test/API/python_api/default-constructor/
H A Dsb_breakpointlocation.py16 obj.GetThreadID()
/llvm-project/lldb/source/Target/
H A DRegisterContext.cpp231 if (context->GetThreadID() != GetThreadID()) in CopyFromRegisterContext()
262 lldb::tid_t RegisterContext::GetThreadID() const { return m_thread.GetID(); } in GetThreadID() function in RegisterContext

123