Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/
H A DTestGdbRemoteRegisterState.py45 thread_id = threads[0]
46 self.assertIsNotNone(thread_id)
47 self.trace("Running on thread: 0x{:x}".format(thread_id))
49 thread_id = None
53 self.add_QSaveRegisterState_packets(thread_id)
65 gpr_reg_infos, endian, thread_id=thread_id)
70 gpr_reg_infos, endian, thread_id=thread_id)
75 gpr_reg_infos, endian, thread_id=thread_id)
80 self.add_QRestoreRegisterState_packets(state_id, thread_id)
87 gpr_reg_infos, endian, thread_id=thread_id)
H A DTestGdbRemoteThreadsInStopReply.py46 return [int(thread_id, 16)
47 for thread_id in stop_reply_threads_text.split(",")]
190 for thread_id in stop_reply_pcs:
191 self.assertIn(thread_id, threads_info_pcs)
192 self.assertEqual(int(stop_reply_pcs[thread_id], 16),
193 int(threads_info_pcs[thread_id], 16))
/llvm-project-15.0.7/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.cpp312 DWORD thread_id) { in HandleExceptionEvent() argument
336 new ExceptionRecord(info.ExceptionRecord, thread_id)); in HandleExceptionEvent()
339 info.ExceptionRecord.ExceptionCode, thread_id); in HandleExceptionEvent()
355 DWORD thread_id) { in HandleCreateThreadEvent() argument
367 DWORD thread_id) { in HandleCreateProcessEvent() argument
395 DWORD thread_id) { in HandleExitThreadEvent() argument
399 m_debug_delegate->OnExitThread(thread_id, info.dwExitCode); in HandleExitThreadEvent()
405 DWORD thread_id) { in HandleExitProcessEvent() argument
472 DWORD thread_id) { in HandleLoadDllEvent() argument
523 DWORD thread_id) { in HandleUnloadDllEvent() 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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/
H A Ddebug_stacks.cpp36 int thread_id; in main() local
37 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main()
42 fprintf(stderr, "thread id = %d\n", thread_id); in main()
50 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main()
55 fprintf(stderr, "thread id = %d\n", thread_id); in main()
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Ddebug_alloc_stack.cpp18 int *thread_id, uint64_t *os_id);
51 int thread_id; in main() local
54 __tsan_get_alloc_stack(mem, trace, num_frames, &thread_id, &thread_os_id); in main()
59 fprintf(stderr, "thread id = %d\n", thread_id); in main()
/llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/Linux/
H A Dcleanup_in_tsd_destructor.c40 pthread_t thread_id; in main() local
41 res = pthread_create(&thread_id, 0, thread_func, 0); in main()
43 res = pthread_join(thread_id, 0); in main()
H A Ddisabler_in_tsd_destructor.c32 pthread_t thread_id; in main() local
33 res = pthread_create(&thread_id, 0, thread_func, 0); in main()
35 res = pthread_join(thread_id, 0); in main()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/register-reading/
H A DTestGdbRemoteGPacket.py71 thread_id = threads[0]
72 self.assertIsNotNone(thread_id)
74 thread_id = None
85 if thread_id:
86 g_request = "read packet: $g;thread:{:x}#00".format(thread_id)
/llvm-project-15.0.7/lldb/test/API/functionalities/step_scripted/
H A DTestStepScripted.py135 thread_id = str(threading.get_ident())
138 self.run_step(False, "all-threads", thread_id)
141 self.run_step(True, "this-thread", thread_id)
144 self.run_step(True, None, thread_id)
153 self.run_step(False, None, thread_id)
/llvm-project-15.0.7/lldb/test/API/functionalities/process_save_core_minidump/
H A DTestProcessSaveCoreMinidump.py39 thread_id = thread.GetThreadID()
40 expected_threads.append(thread_id)
83 thread_id = thread.GetThreadID()
84 self.assertTrue(thread_id in expected_threads)
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-server/
H A Dgdbremote_testcase.py1101 if thread_id:
1104 thread_id)
1128 if thread_id:
1131 save_id, thread_id)
1159 if thread_id:
1161 reg_index, thread_id)
1186 if thread_id:
1273 if thread_id:
1275 reg_index, thread_id)
1321 thread_id, argument
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/GPU/
H A Dpromotion.mlir14 // CHECK-DAG: %[[tx:.*]] = gpu.thread_id x
15 // CHECK-DAG: %[[ty:.*]] = gpu.thread_id y
16 // CHECK-DAG: %[[tz:.*]] = gpu.thread_id z
68 // CHECK-DAG: %[[tx:.*]] = gpu.thread_id x
69 // CHECK-DAG: %[[ty:.*]] = gpu.thread_id y
70 // CHECK-DAG: %[[tz:.*]] = gpu.thread_id z
/llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/
H A Duse_stacks_threaded.cpp27 pthread_t thread_id; in main() local
28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync); in main()
H A Duse_registers_extra.cpp50 pthread_t thread_id; in main() local
51 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); in main()
H A Dleak_check_before_thread_started.cpp24 pthread_t thread_id; in create_detached_thread() local
34 int res = pthread_create(&thread_id, &attr, func, arg); in create_detached_thread()
H A Duse_registers.cpp68 pthread_t thread_id; in main() local
69 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); in main()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
946 int thread_id = in GenerateThreadName() local
964 is_write ? "mutating" : "read-only", thread_id); in GenerateThreadName()
967 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName()
971 size, addr_string.c_str(), thread_id); in GenerateThreadName()
976 int thread_id = in GenerateThreadName() local
978 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName()
984 int thread_id = in GenerateThreadName() local
1004 int thread_id = in GenerateThreadName() local
[all …]

1234