| /llvm-project-15.0.7/lldb/test/API/driver/job_control/ |
| H A D | shell.py | 13 orig_mask = signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGTTOU]) 23 signal.pthread_sigmask(signal.SIG_SETMASK, orig_mask)
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | signal_block.cpp | 26 if (pthread_sigmask(SIG_BLOCK, &myset, 0)) { in thread() 33 if (pthread_sigmask(SIG_UNBLOCK, &myset, 0)) { in thread()
|
| H A D | signal_recursive.cpp | 40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | signals-blocked.cpp | 23 int ret = pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); in thr() 61 int ret = pthread_sigmask(SIG_BLOCK, &sigset, NULL); in main()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | MainLoop.cpp | 155 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); in get_sigmask() 339 ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK, 378 int ret = pthread_sigmask(it->second.was_blocked ? SIG_BLOCK : SIG_UNBLOCK,
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Process.inc | 244 if (int EC = pthread_sigmask(SIG_SETMASK, &FullSet, &SavedSet)) 252 // pthread_sigmask might tamper with errno. 259 EC = pthread_sigmask(SIG_SETMASK, &SavedSet, nullptr); 265 // pthread_sigmask.
|
| /llvm-project-15.0.7/lldb/source/Host/posix/ |
| H A D | ProcessLauncherPosixFork.cpp | 154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) in ChildFunc()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_wrappers.cpp | 189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
|
| /llvm-project-15.0.7/lldb/tools/driver/ |
| H A D | Driver.cpp | 683 pthread_sigmask(SIG_UNBLOCK, &set, nullptr); in sigtstp_handler() 691 pthread_sigmask(SIG_BLOCK, &set, nullptr); in sigtstp_handler()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_posix.cpp | 1960 TSAN_INTERCEPTOR(int, pthread_sigmask, int how, const __sanitizer_sigset_t *set, in TSAN_INTERCEPTOR() argument 1962 SCOPED_TSAN_INTERCEPTOR(pthread_sigmask, how, set, oldset); in TSAN_INTERCEPTOR() 1963 return REAL(pthread_sigmask)(how, set, oldset); in TSAN_INTERCEPTOR() 2051 int res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->emptyset, &sctx->oldset); in ProcessPendingSignalsImpl() 2061 res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->oldset, 0); in ProcessPendingSignalsImpl() 2890 TSAN_INTERCEPT(pthread_sigmask); in InitializeInterceptors()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 1962 TSAN_INTERCEPTOR(int, pthread_sigmask, int how, const __sanitizer_sigset_t *set, in TSAN_INTERCEPTOR() argument 1964 SCOPED_TSAN_INTERCEPTOR(pthread_sigmask, how, set, oldset); in TSAN_INTERCEPTOR() 1965 return REAL(pthread_sigmask)(how, set, oldset); in TSAN_INTERCEPTOR() 2055 int res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->emptyset, &sctx->oldset); in ProcessPendingSignalsImpl() 2065 res = REAL(pthread_sigmask)(SIG_SETMASK, &sctx->oldset, 0); in ProcessPendingSignalsImpl() 2916 TSAN_INTERCEPT(pthread_sigmask); in InitializeInterceptors()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Linux_util.cpp | 510 status = pthread_sigmask(SIG_BLOCK, &new_set, &old_set); in __kmp_launch_worker() 530 status = pthread_sigmask(SIG_SETMASK, &old_set, NULL); in __kmp_launch_worker() 675 status = pthread_sigmask(SIG_UNBLOCK, &new_set, NULL); in __kmp_launch_monitor()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | done_abilist.txt | 190 fun:pthread_sigmask=discard
|
| H A D | dfsan_custom.cpp | 64 pthread_sigmask(SIG_SETMASK, &all_set, &saved_thread_mask_); in SignalSpinLocker() 69 pthread_sigmask(SIG_SETMASK, &saved_thread_mask_, nullptr); in ~SignalSpinLocker()
|
| H A D | libc_ubuntu1404_abilist.txt | 2645 fun:pthread_sigmask=uninstrumented
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_mac.cpp | 244 return pthread_sigmask(how, set, oldset); in internal_sigprocmask()
|
| H A D | sanitizer_common_interceptors.inc | 4385 INTERCEPTOR(int, pthread_sigmask, int how, __sanitizer_sigset_t *set, 4388 COMMON_INTERCEPTOR_ENTER(ctx, pthread_sigmask, how, set, oldset); 4393 int res = REAL(pthread_sigmask)(how, set, oldset); 4398 #define INIT_PTHREAD_SIGMASK COMMON_INTERCEPT_FUNCTION(pthread_sigmask);
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 2590 TEST(MemorySanitizer, pthread_sigmask) { in TEST() argument 2593 int res = pthread_sigmask(SIG_BLOCK, 0, &s); in TEST()
|