| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/vCont-threads/ |
| H A D | TestPartialResume.py | 18 main_thread = self.parse_threadinfo_packets( 20 self.assertEqual(len(main_thread), 1) 33 self.assertIn(main_thread[0], all_threads) 36 all_subthreads = set(all_threads) - set(main_thread) 39 return (main_thread[0], list(all_subthreads)) 41 def continue_and_get_threads_running(self, main_thread, vCont_req): argument 43 ["read packet: $vCont;c:{:x};{}#00".format(main_thread, vCont_req), 58 main_thread, all_subthreads_list = ( 63 main_thread, 70 main_thread, all_subthreads_list = ( [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | atomic_race.cpp | 8 void Test(int test, T *p, bool main_thread) { in Test() argument 11 if (main_thread) in Test() 16 if (main_thread) in Test() 21 if (main_thread) in Test() 26 if (main_thread) in Test()
|
| H A D | atomic_norace.cpp | 8 void Test(int test, T *p, bool main_thread) { in Test() argument 11 if (main_thread) in Test() 16 if (main_thread) in Test() 21 if (main_thread) in Test() 26 if (main_thread) in Test()
|
| H A D | signal_block2.cpp | 14 pthread_t main_thread; variable 25 (void)pthread_kill(main_thread, SIGUSR1); in timer_handler() 38 main_thread = pthread_self(); in main()
|
| /llvm-project-15.0.7/lldb/test/API/macosx/safe-to-func-call/ |
| H A D | TestSafeFuncCalls.py | 35 main_thread = lldb.SBThread() 40 main_thread = t 45 main_thread.IsValid() and select_thread.IsValid(), 48 self.assertTrue(main_thread.SafeToCallFunctions(),
|
| /llvm-project-15.0.7/lldb/test/API/macosx/thread-names/ |
| H A D | TestInterruptThreadNames.py | 43 main_thread = lldb.SBThread() 49 main_thread = t 55 self.check_expected_threads_present(main_thread, second_thread, third_thread) 130 def check_expected_threads_present(self, main_thread, second_thread, third_thread): argument 132 main_thread.IsValid() and second_thread.IsValid() and third_thread.IsValid(),
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_on_lambda_capture/ |
| H A D | TestBreakOnLambdaCapture.py | 21 (target, process, main_thread, _) = lldbutil.run_to_source_breakpoint(self, 30 val_obj = main_thread.frame[0].EvaluateExpression("true") 51 if thread.id == main_thread.id:
|
| H A D | main.cpp | 27 std::thread main_thread(background_thread, nullptr); in main() local
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/two_hits_one_actual/ |
| H A D | TestTwoHitsOneActual.py | 28 (target, process, main_thread, _) = lldbutil.run_to_source_breakpoint(self, 36 val_obj = main_thread.frame[0].EvaluateExpression("main_usec==1") 59 if thread.id == main_thread.id:
|
| H A D | main.cpp | 18 std::thread main_thread(background_thread, nullptr); // Set bkpt here to get started in main() local
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/thread/thread_specific_break/ |
| H A D | TestThreadSpecificBreakpoint.py | 45 (target, process, main_thread, main_breakpoint) = lldbutil.run_to_source_breakpoint(self, 60 setter_method(self, main_thread, thread_breakpoint) 76 main_thread.GetThreadID(),
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 157 MemprofThread *main_thread = MemprofThread::Create( in CreateMainThread() local 160 SetCurrentThread(main_thread); in CreateMainThread() 161 main_thread->ThreadStart(internal_getpid(), in CreateMainThread() 163 return main_thread; in CreateMainThread()
|
| H A D | memprof_rtl.cpp | 203 MemprofThread *main_thread = CreateMainThread(); in MemprofInitInternal() local 204 CHECK_EQ(0, main_thread->tid()); in MemprofInitInternal()
|
| /llvm-project-15.0.7/libc/test/integration/src/pthread/ |
| H A D | pthread_equal_test.cpp | 40 auto main_thread = __llvm_libc::pthread_self(); in main() local 51 ASSERT_EQ(__llvm_libc::pthread_equal(th, main_thread), 0); in main()
|
| /llvm-project-15.0.7/libc/test/integration/src/threads/ |
| H A D | thrd_equal_test.cpp | 40 auto main_thread = __llvm_libc::thrd_current(); in main() local 52 ASSERT_EQ(__llvm_libc::thrd_equal(th, main_thread), 0); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_thread.cpp | 291 AsanThread *main_thread = AsanThread::Create( in CreateMainThread() local 294 SetCurrentThread(main_thread); in CreateMainThread() 295 main_thread->ThreadStart(internal_getpid()); in CreateMainThread() 296 return main_thread; in CreateMainThread()
|
| H A D | asan_rtl.cpp | 471 AsanThread *main_thread = CreateMainThread(); in AsanInitInternal() local 472 CHECK_EQ(0, main_thread->tid()); in AsanInitInternal()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_thread_registry_test.cpp | 130 ThreadContextBase *main_thread = registry->GetThreadLocked(0); in TestRegistry() local 131 EXPECT_EQ(main_thread, registry->FindThreadContextLocked( in TestRegistry()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan.cpp | 476 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); in __msan_init() local 477 SetCurrentThread(main_thread); in __msan_init() 478 main_thread->Init(); in __msan_init()
|
| /llvm-project-15.0.7/lldb/test/API/python_api/process/ |
| H A D | TestProcessAPI.py | 401 (target, process, main_thread, main_breakpoint) = lldbutil.run_to_source_breakpoint( 433 frame = main_thread.GetFrameAtIndex(0)
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessWindows.cpp | 688 ThreadSP main_thread = in OnDebuggerConnected() local 692 main_thread->SetID(id); in OnDebuggerConnected() 694 m_session_data->m_new_threads[id] = main_thread; in OnDebuggerConnected()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | NativeProcessLinux.cpp | 563 auto *main_thread = static_cast<NativeThreadLinux *>(m_threads[0].get()); in MonitorSIGTRAP() local 565 SetCurrentThreadID(main_thread->GetID()); in MonitorSIGTRAP() 566 main_thread->SetStoppedByExec(); in MonitorSIGTRAP() 569 ThreadWasCreated(*main_thread); in MonitorSIGTRAP() 575 StopRunningThreads(main_thread->GetID()); in MonitorSIGTRAP()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan.cpp | 1134 DFsanThread *main_thread = DFsanThread::Create(nullptr, nullptr); in DFsanInit() local 1135 SetCurrentThread(main_thread); in DFsanInit() 1136 main_thread->Init(); in DFsanInit()
|