| /llvm-project/lldb/test/API/tools/lldb-server/ |
| H A D | TestGdbRemoteRegisterState.py | 47 thread_id = threads[0] 48 self.assertIsNotNone(thread_id) 49 self.trace("Running on thread: 0x{:x}".format(thread_id)) 51 thread_id = None 55 self.add_QSaveRegisterState_packets(thread_id) 67 gpr_reg_infos, endian, thread_id=thread_id 73 gpr_reg_infos, endian, thread_id=thread_id 83 gpr_reg_infos, endian, thread_id=thread_id 89 self.add_QRestoreRegisterState_packets(state_id, thread_id) 96 gpr_reg_infos, endian, thread_id=thread_id
|
| H A D | TestGdbRemoteThreadsInStopReply.py | 47 int(thread_id, 16) for thread_id in stop_reply_threads_text.split(",") 195 for thread_id in stop_reply_pcs: 196 self.assertIn(thread_id, threads_info_pcs) 198 int(stop_reply_pcs[thread_id], 16), int(threads_info_pcs[thread_id], 16)
|
| /llvm-project/openmp/libompd/gdb-plugin/ompd/ |
| H A D | ompd_callbacks.py | 25 # args is a tuple consisting of thread_id and symbol_name 26 thread_id = args[0] 28 if thread_id >= 0: 29 gdb.execute("thread %d\n" % thread_id, to_string=True) 72 # args is a tuple consisting of thread_id and the thread kind 73 thread_id = args[1] 90 if pid == thread_id: 104 thread_id = None 107 thread_id = content[3] 109 thread_id [all...] |
| H A D | ompd_handles.py | 159 self.thread_id = False 184 if not self.thread_id: 185 self.thread_id = ompdModule.call_ompd_get_thread_id(self.thread_handle) 186 return self.thread_id
|
| /llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | DebuggerThread.h | 49 DWORD thread_id, bool shutting_down); 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 D | DebuggerThread.cpp | 353 DWORD thread_id, bool shutting_down) { 370 new ExceptionRecord(info.ExceptionRecord, thread_id)); in HandleCreateProcessEvent() 373 info.ExceptionRecord.ExceptionCode, thread_id); in HandleCreateProcessEvent() 389 DWORD thread_id) { in HandleCreateProcessEvent() 391 LLDB_LOG(log, "Thread {0} spawned in process {1}", thread_id, in HandleCreateProcessEvent() 401 DWORD thread_id) { in HandleExitThreadEvent() 428 DWORD thread_id) { in GetFileNameFromHandleFallback() 430 LLDB_LOG(log, "Thread {0} exited with code {1} in process {2}", thread_id, in GetFileNameFromHandleFallback() 432 m_debug_delegate->OnExitThread(thread_id, info.dwExitCode); in GetFileNameFromHandleFallback() 438 DWORD thread_id) { in GetFileNameFromHandleFallback() 313 HandleExceptionEvent(const EXCEPTION_DEBUG_INFO & info,DWORD thread_id) HandleExceptionEvent() argument 356 HandleCreateThreadEvent(const CREATE_THREAD_DEBUG_INFO & info,DWORD thread_id) HandleCreateThreadEvent() argument 368 HandleCreateProcessEvent(const CREATE_PROCESS_DEBUG_INFO & info,DWORD thread_id) HandleCreateProcessEvent() argument 396 HandleExitThreadEvent(const EXIT_THREAD_DEBUG_INFO & info,DWORD thread_id) HandleExitThreadEvent() argument 406 HandleExitProcessEvent(const EXIT_PROCESS_DEBUG_INFO & info,DWORD thread_id) HandleExitProcessEvent() argument 473 HandleLoadDllEvent(const LOAD_DLL_DEBUG_INFO & info,DWORD thread_id) HandleLoadDllEvent() argument 524 HandleUnloadDllEvent(const UNLOAD_DLL_DEBUG_INFO & info,DWORD thread_id) HandleUnloadDllEvent() argument 536 HandleODSEvent(const OUTPUT_DEBUG_STRING_INFO & info,DWORD thread_id) HandleODSEvent() argument 541 HandleRipEvent(const RIP_INFO & info,DWORD thread_id) HandleRipEvent() argument [all...] |
| H A D | ExceptionRecord.h | 27 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 D | NativeProcessWindows.h | 104 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override; 110 NativeThreadWindows *GetThreadByID(lldb::tid_t thread_id); 119 void StopThread(lldb::tid_t thread_id, lldb::StopReason reason, 163 void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override { in OnExitThread() argument 164 m_process.OnExitThread(thread_id, exit_code); in OnExitThread()
|
| /llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_debugging.cpp | 50 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/compiler-rt/test/asan/TestCases/ |
| H A D | debug_stacks.cpp | 36 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/lldb/tools/debugserver/source/MacOSX/ |
| H A D | Genealogy.cpp | 59 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()
|
| /llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | fork_threaded.c | 84 pthread_t thread_id; in main() 85 while (pthread_create(&thread_id, 0, &inparent, 0) != 0) { in main() 96 while (pthread_create(&thread_id, 0, &inchild, 0) != 0) { in main() 98 pthread_join(thread_id, NULL); in main() 81 pthread_t thread_id; main() local
|
| /llvm-project/compiler-rt/test/tsan/ |
| H A D | debug_alloc_stack.cpp | 18 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/libcxxabi/test/ |
| H A D | test_exception_storage.threads.pass.cpp | 30 std::thread::id thread_id = std::this_thread::get_id(); in thread_code() local 31 (void)thread_id; in thread_code() 35 … TEST_WRITE_CONCATENATED("Got null result from __cxa_get_globals on thread ", thread_id)); in thread_code() 40 fast_globals, " on thread ", thread_id)); in thread_code()
|
| /llvm-project/lldb/test/API/functionalities/process_save_core_minidump/ |
| H A D | TestProcessSaveCoreMinidump.py | 48 thread_id = thread.GetThreadID() 49 self.assertIn(thread_id, expected_threads) 56 # Ensure thread_id is in the saved map 57 self.assertIn(thread_id, stacks_to_sps_map) 59 self.assertEqual(stacks_to_sps_map[thread_id], sp) 67 self.assertIn(thread_id, stacks_to_registers_map) 68 register_val_list = stacks_to_registers_map[thread_id] 77 stacks_to_registers_map[thread_id] 124 thread_id = thread.GetThreadID() 125 expected_threads.append(thread_id) [all...] |
| /llvm-project/lldb/test/API/tools/lldb-server/register-reading/ |
| H A D | TestGdbRemoteGPacket.py | 84 thread_id = threads[0] 85 self.assertIsNotNone(thread_id) 87 thread_id = None 103 if thread_id: 104 g_request = "read packet: $g;thread:{:x}#00".format(thread_id)
|
| /llvm-project/compiler-rt/test/lsan/TestCases/Linux/ |
| H A D | cleanup_in_tsd_destructor.c | 40 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 D | disabler_in_tsd_destructor.c | 32 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/lldb/test/API/functionalities/step_scripted/ |
| H A D | TestStepScripted.py | 148 thread_id = str(threading.get_ident()) 151 self.run_step(False, "all-threads", thread_id) 154 self.run_step(True, "this-thread", thread_id) 157 self.run_step(True, None, thread_id) 166 self.run_step(False, None, thread_id)
|
| /llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
| H A D | gdbremote_testcase.py | 1185 def add_QSaveRegisterState_packets(self, thread_id): 1186 if thread_id: 1189 thread_id 1218 def add_QRestoreRegisterState_packets(self, save_id, thread_id=None): 1219 if thread_id: 1222 save_id, thread_id 1229 def flip_all_bits_in_each_register_value(self, reg_infos, endian, thread_id=None): 1246 if thread_id: 1248 reg_index, thread_id 1280 if thread_id 1183 add_QSaveRegisterState_packets(self, thread_id) global() argument 1216 add_QRestoreRegisterState_packets(self, save_id, thread_id=None) global() argument 1227 flip_all_bits_in_each_register_value(self, reg_infos, endian, thread_id=None) global() argument 1373 read_register_values(self, reg_infos, endian, thread_id=None) global() argument 1445 count_single_steps_until_true( self, thread_id, predicate, args, max_step_count=100, use_Hc_packet=True, step_instruction="s", ) global() argument [all...] |
| /llvm-project/mlir/test/Dialect/GPU/ |
| H A D | promotion.mlir | 15 // CHECK-DAG: %[[tx:.*]] = gpu.thread_id x 16 // CHECK-DAG: %[[ty:.*]] = gpu.thread_id y 17 // CHECK-DAG: %[[tz:.*]] = gpu.thread_id z 69 // CHECK-DAG: %[[tx:.*]] = gpu.thread_id x 70 // CHECK-DAG: %[[ty:.*]] = gpu.thread_id y 71 // CHECK-DAG: %[[tz:.*]] = gpu.thread_id z
|
| H A D | int-range-interface.mlir | 46 %thread_id_op = gpu.thread_id y 94 %thread_id_x = gpu.thread_id x 95 %thread_id_y = gpu.thread_id y 96 %thread_id_z = gpu.thread_id z 177 %thread_id_x = gpu.thread_id x 178 %thread_id_y = gpu.thread_id y 179 %thread_id_z = gpu.thread_id z 237 %thread_id_x = gpu.thread_id x 238 %thread_id_y = gpu.thread_id y 239 %thread_id_z = gpu.thread_id z [all …]
|
| /llvm-project/libc/test/integration/src/stdio/gpu/ |
| H A D | printf.cpp | |
| /llvm-project/lldb/include/lldb/Target/ |
| H A D | ThreadSpec.h | 63 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/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | InstrumentationRuntimeTSan.cpp | 269 uint64_t thread_id = in GetRenumberedThreadIds() local 288 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds() 362 dict->AddIntegerItem("thread_id", thread_sp->GetIndexID()); in RetrieveReportData() 374 "thread_id", in RetrieveReportData() 412 "thread_id", in RetrieveReportData() 455 "thread_id", in RetrieveReportData() 771 ->GetValueForKey("thread_id") in GetLocationDescription() 777 ->GetValueForKey("thread_id") in GetLocationDescription() 948 lldb::tid_t thread_id = in GenerateThreadName() 949 o->GetObjectForDotSeparatedPath("thread_id") in GenerateThreadName() 951 tid_t thread_id = GenerateThreadName() local 982 tid_t thread_id = GenerateThreadName() local 990 tid_t thread_id = GenerateThreadName() local 1010 tid_t thread_id = GenerateThreadName() local [all...] |