| /llvm-project-15.0.7/libc/src/__support/threads/ |
| H A D | thread.h | 107 bool detached = false) { 110 return run(ThreadStyle::POSIX, runner, arg, stack, size, detached); 114 bool detached = false) { 117 return run(ThreadStyle::STDC, runner, arg, stack, size, detached); 142 size_t stack_size, bool detached);
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_fuchsia.cpp | 122 bool detached, const char *name) { in CreateAsanThread() argument 127 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in CreateAsanThread() 173 static void *BeforeThreadCreateHook(uptr user_id, bool detached, in BeforeThreadCreateHook() argument 184 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook() 254 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument 258 reinterpret_cast<uptr>(thread), detached, name, in __sanitizer_before_thread_create_hook()
|
| H A D | asan_win.cpp | 149 bool detached = false; // FIXME: how can we determine it on Windows? in INTERCEPTOR_WINAPI() local 152 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR_WINAPI()
|
| H A D | asan_interceptors.cpp | 209 int detached = 0; in INTERCEPTOR() local 211 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR() 215 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR()
|
| H A D | asan_thread.h | 62 u32 parent_tid, StackTrace *stack, bool detached);
|
| H A D | asan_thread.cpp | 79 bool detached) { in Create() argument 86 asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_thread_registry.cpp | 22 status(ThreadStatusInvalid), detached(false), in ThreadContextBase() 59 CHECK_EQ(false, detached); in SetJoined() 71 if (!detached || status == ThreadStatusCreated) status = ThreadStatusFinished; in SetFinished() 88 detached = _detached; in SetCreated() 136 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 173 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread() 251 tctx->detached = true; in DetachThread() 289 bool dead = tctx->detached; in FinishThread()
|
| H A D | sanitizer_thread_registry.h | 51 bool detached; variable 109 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestFork.py | 17 self.detached = None 37 self.detached = packet 51 self.assertRegex(self.server.responder.detached,
|
| H A D | TestGDBRemoteClient.py | 378 self.detached = None 384 self.detached = packet 391 self.assertEqual(self.server.responder.detached, "D") 398 self.detached = None 408 self.detached = packet 415 self.assertRegex(self.server.responder.detached, r"D;0*400")
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_test_util_posix.cpp | 234 bool detached; member 379 ScopedThread::ScopedThread(bool detached, bool main) { in ScopedThread() argument 382 impl_->detached = detached; in ScopedThread() 388 &attr, detached ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOINABLE); in ScopedThread() 399 if (!impl_->detached) in ~ScopedThread() 407 CHECK(!impl_->detached); in Detach() 408 impl_->detached = true; in Detach()
|
| H A D | tsan_test_util.h | 76 explicit ScopedThread(bool detached = false, bool main = false);
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_thread.cpp | 47 u32 ThreadCreate(u32 parent_tid, bool detached, void *arg) { in ThreadCreate() argument 48 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
|
| H A D | lsan_fuchsia.cpp | 93 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument 102 u32 tid = ThreadCreate(parent_tid, detached, &args); in __sanitizer_before_thread_create_hook()
|
| H A D | lsan_thread.h | 48 u32 ThreadCreate(u32 tid, bool detached, void *arg = nullptr);
|
| H A D | lsan_interceptors.cpp | 455 int detached = 0; in INTERCEPTOR() local 456 pthread_attr_getdetachstate(attr, &detached); in INTERCEPTOR() 471 int tid = ThreadCreate(GetCurrentThread(), IsStateDetached(detached)); in INTERCEPTOR()
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_fuchsia.cpp | 94 static void *BeforeThreadCreateHook(uptr user_id, bool detached, in BeforeThreadCreateHook() argument 207 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument 211 reinterpret_cast<uptr>(thread), detached, name, in __sanitizer_before_thread_create_hook()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_rtl_thread.cpp | 48 if (tctx->detached || tctx->status != ThreadStatusFinished) in CollectThreadLeaks() 119 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() argument 122 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent_tid, &args); in ThreadCreate() 238 if (!detached) { in OnFinished()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_thread.cpp | 42 if (tctx->detached || tctx->status != ThreadStatusFinished) in CollectThreadLeaks() 116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() argument 130 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent, &arg); in ThreadCreate() 232 if (!thr->tctx->detached) { in ThreadFinish()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.cpp | 76 bool detached) { in Create() argument 83 memprofThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
|
| H A D | memprof_interceptors.cpp | 161 int detached = 0; in INTERCEPTOR() local 163 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR() 178 &stack, detached); in INTERCEPTOR()
|
| H A D | memprof_thread.h | 61 bool detached);
|
| /llvm-project-15.0.7/libc/src/__support/threads/linux/ |
| H A D | thread.cpp | 142 size_t size, bool detached) { in run() argument 178 uint32_t(detached ? DetachState::DETACHED : DetachState::JOINABLE); in run()
|
| /llvm-project-15.0.7/mlir/docs/Bindings/ |
| H A D | Python.md | 206 be created detached (top-level) and once added to another operation, they are 209 to a transitive parent that is still detached, necessitating further accounting 211 the IR with a parent of their outer-most detached operation, but then once it is 220 a detached state, and they are interned at the context level so that there is 224 The C/C++ API allows for Region/Block to also be detached, but it simplifies the 231 If we ever want to re-introduce detached regions/blocks, we could do so with new 310 the operation is created in the *detached* state; 360 operation is created in the *detached* state, that is, it is not added into the 626 is created in the detached state. 673 operations (unlike in C++ that supports detached regions). [all …]
|
| /llvm-project-15.0.7/lldb/docs/man/ |
| H A D | lldb-server.rst | 187 to be detached and continue execution.
|