Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 80) sorted by relevance

1234

/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DDebuggerThread.h49 DWORD thread_id);
51 DWORD thread_id);
53 DWORD thread_id);
55 DWORD thread_id);
57 DWORD thread_id);
58 DWORD HandleLoadDllEvent(const LOAD_DLL_DEBUG_INFO &info, DWORD thread_id);
60 DWORD thread_id);
61 DWORD HandleODSEvent(const OUTPUT_DEBUG_STRING_INFO &info, DWORD thread_id);
62 DWORD HandleRipEvent(const RIP_INFO &info, DWORD thread_id);
H A DDebuggerThread.cpp313 DWORD thread_id) { in HandleExceptionEvent() argument
337 new ExceptionRecord(info.ExceptionRecord, thread_id)); in HandleExceptionEvent()
340 info.ExceptionRecord.ExceptionCode, thread_id); in HandleExceptionEvent()
356 DWORD thread_id) { in HandleCreateThreadEvent() argument
358 LLDB_LOG(log, "Thread {0} spawned in process {1}", thread_id, in HandleCreateThreadEvent()
368 DWORD thread_id) { in HandleCreateProcessEvent() argument
396 DWORD thread_id) { in HandleExitThreadEvent() argument
398 LLDB_LOG(log, "Thread {0} exited with code {1} in process {2}", thread_id, in HandleExitThreadEvent()
400 m_debug_delegate->OnExitThread(thread_id, info.dwExitCode); in HandleExitThreadEvent()
406 DWORD thread_id) { in HandleExitProcessEvent() argument
[all …]
H A DExceptionRecord.h27 ExceptionRecord(const EXCEPTION_RECORD &record, lldb::tid_t thread_id) { in ExceptionRecord() argument
40 m_thread_id = thread_id; in ExceptionRecord()
46 ExceptionRecord(const MINIDUMP_EXCEPTION &record, lldb::tid_t thread_id) in ExceptionRecord() argument
49 m_thread_id(thread_id), in ExceptionRecord()
H A DNativeProcessWindows.h103 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override;
109 NativeThreadWindows *GetThreadByID(lldb::tid_t thread_id);
118 void StopThread(lldb::tid_t thread_id, lldb::StopReason reason,
162 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override { in OnExitThread() argument
163 m_process.OnExitThread(thread_id, exit_code); in OnExitThread()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_debugging.cpp50 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument
59 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack()
63 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
132 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument
133 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack()
137 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument
138 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DGenealogy.cpp59 uint64_t thread_id))dlsym(RTLD_DEFAULT, in Genealogy()
180 nub_thread_t thread_id = thread_list.ThreadIDAtIndex(i); in GetActivities()
183 act = m_os_activity_for_task_thread(task, thread_id); in GetActivities()
185 act = m_os_activity_for_thread(process_info, thread_id); in GetActivities()
188 thread_activity_mapping[thread_id] = act; in GetActivities()
203 nub_thread_t thread_id = iter->first; in GetActivities()
207 thread_id); in GetActivities()
259 nub_thread_t thread_id = iter->first; in GetActivities() local
278 if (message_search->thread == thread_id) { in GetActivities()
283 m_thread_activities[thread_id] = thread_activity_sp; in GetActivities()
H A DGenealogy.h107 uint64_t thread_id);
109 uint64_t thread_id);
112 uint64_t thread_id);
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dgthr-posix.h162 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
169 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
171 thread_id = NULL; in __gthread_objc_thread_detach()
173 return thread_id; in __gthread_objc_thread_detach()
185 pthread_t thread_id = pthread_self (); in __gthread_objc_thread_set_priority() local
190 if (pthread_getschedparam (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
209 if (pthread_setschedparam (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-solaris.h138 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
147 thread_id = *(objc_thread_t *) &new_thread_id; in __gthread_objc_thread_detach()
149 thread_id = NULL; in __gthread_objc_thread_detach()
151 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-dce.h144 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
154 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach()
158 thread_id = NULL; in __gthread_objc_thread_detach()
160 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-win32.h114 DWORD thread_id = 0; in __gthread_objc_thread_detach() local
118 arg, 0, &thread_id))) in __gthread_objc_thread_detach()
119 thread_id = 0; in __gthread_objc_thread_detach()
121 return (objc_thread_t) thread_id; in __gthread_objc_thread_detach()
/openbsd-src/gnu/gcc/gcc/
H A Dgthr-nks.h93 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
99 thread_id = NULL; in __gthread_objc_thread_detach()
101 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
104 thread_id = NULL; in __gthread_objc_thread_detach()
107 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-posix95.h243 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
250 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
252 thread_id = NULL; in __gthread_objc_thread_detach()
254 return thread_id; in __gthread_objc_thread_detach()
267 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
272 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
291 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-posix.h280 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
287 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
289 thread_id = NULL; in __gthread_objc_thread_detach()
291 return thread_id; in __gthread_objc_thread_detach()
304 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
309 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
328 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-dce.h158 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
168 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach()
172 thread_id = NULL; in __gthread_objc_thread_detach()
174 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-solaris.h160 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
169 thread_id = *(objc_thread_t *) &new_thread_id; in __gthread_objc_thread_detach()
171 thread_id = NULL; in __gthread_objc_thread_detach()
173 return thread_id; in __gthread_objc_thread_detach()
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DThreadSpec.h63 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() argument
64 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches()
67 return thread_id == m_tid; in TIDMatches()
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dgdbremote_testcase.py1099 def add_QSaveRegisterState_packets(self, thread_id): argument
1100 if thread_id:
1103 thread_id)
1126 def add_QRestoreRegisterState_packets(self, save_id, thread_id=None): argument
1127 if thread_id:
1130 save_id, thread_id)
1141 self, reg_infos, endian, thread_id=None): argument
1158 if thread_id:
1160 reg_index, thread_id)
1185 if thread_id:
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_testlib.cpp47 pthread_t thread_id; in StopTheWorldTestLibConstructor() local
48 pthread_create(&thread_id, NULL, SuspenderThread, NULL); in StopTheWorldTestLibConstructor()
/openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp268 uint64_t thread_id = in GetRenumberedThreadIds() local
287 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds()
950 int thread_id = in GenerateThreadName() local
968 is_write ? "mutating" : "read-only", thread_id); in GenerateThreadName()
971 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName()
975 size, addr_string.c_str(), thread_id); in GenerateThreadName()
980 int thread_id = in GenerateThreadName() local
982 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName()
988 int thread_id = in GenerateThreadName() local
993 result = Sprintf("Heap block allocated by thread %d", thread_id); in GenerateThreadName()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp779 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
782 if (thread->GetID() == thread_id) { in HasThreadNoLock()
792 NativeThreadFreeBSD &NativeProcessFreeBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
794 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
796 assert(thread_id > 0); in AddThread()
797 assert(!HasThreadNoLock(thread_id) && in AddThread()
802 SetCurrentThreadID(thread_id); in AddThread()
804 m_threads.push_back(std::make_unique<NativeThreadFreeBSD>(*this, thread_id)); in AddThread()
808 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
810 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
[all …]
H A DNativeProcessFreeBSD.h111 bool HasThreadNoLock(lldb::tid_t thread_id);
113 NativeThreadFreeBSD &AddThread(lldb::tid_t thread_id);
114 void RemoveThread(lldb::tid_t thread_id);
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h104 bool HasThreadNoLock(lldb::tid_t thread_id);
106 NativeThreadNetBSD &AddThread(lldb::tid_t thread_id);
107 void RemoveThread(lldb::tid_t thread_id);
H A DNativeProcessNetBSD.cpp806 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
809 if (thread->GetID() == thread_id) { in HasThreadNoLock()
819 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
821 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
823 assert(thread_id > 0); in AddThread()
824 assert(!HasThreadNoLock(thread_id) && in AddThread()
829 SetCurrentThreadID(thread_id); in AddThread()
831 m_threads.push_back(std::make_unique<NativeThreadNetBSD>(*this, thread_id)); in AddThread()
835 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
837 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/
H A DNativeProcessOpenBSD.cpp435 bool NativeProcessOpenBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
438 if (thread->GetID() == thread_id) { in HasThreadNoLock()
448 NativeThreadOpenBSD &NativeProcessOpenBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
451 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
453 assert(!HasThreadNoLock(thread_id) && in AddThread()
458 SetCurrentThreadID(thread_id); in AddThread()
460 m_threads.push_back(std::make_unique<NativeThreadOpenBSD>(*this, thread_id)); in AddThread()

1234