| /llvm-project-15.0.7/libc/test/src/signal/ |
| H A D | sigprocmask_test.cpp | 27 __llvm_libc::sigprocmask(SIG_SETMASK, &oldSet, nullptr); in TearDown() 45 EXPECT_THAT(__llvm_libc::sigprocmask(SIG_SETMASK, invalid, nullptr), in TEST_F() 55 EXPECT_EQ(__llvm_libc::sigprocmask(SIG_SETMASK, &sigset, nullptr), 0); in TEST_F() 58 EXPECT_EQ(__llvm_libc::sigprocmask(SIG_SETMASK, &sigset, nullptr), 0); in TEST_F()
|
| H A D | sigfillset_test.cpp | 27 EXPECT_THAT(__llvm_libc::sigprocmask(SIG_SETMASK, &set, nullptr), Succeeds()); in TEST()
|
| H A D | sigdelset_test.cpp | 34 EXPECT_THAT(__llvm_libc::sigprocmask(SIG_SETMASK, &set, nullptr), Succeeds()); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_interceptors.cpp | 63 #define SIG_SETMASK 2 macro 147 (void)sigprocmask(SIG_SETMASK, &env[0].__saved_mask, in INTERCEPTOR() 171 #undef SIG_SETMASK
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform_linux.cpp | 494 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread() 511 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread() 524 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread_finalize() 530 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread_finalize()
|
| H A D | tsan_interceptors_posix.cpp | 147 const int SIG_SETMASK = 3; variable 150 const int SIG_SETMASK = 3; variable 153 const int SIG_SETMASK = 2; variable 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()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_platform_linux.cpp | 502 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread() 519 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread() 532 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &emptyset, &oldset)); in cur_thread_finalize() 538 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, &oldset, nullptr)); in cur_thread_finalize()
|
| H A D | tsan_interceptors_posix.cpp | 147 const int SIG_SETMASK = 3; variable 150 const int SIG_SETMASK = 3; variable 153 const int SIG_SETMASK = 2; variable 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()
|
| /llvm-project-15.0.7/lldb/test/API/driver/job_control/ |
| H A D | shell.py | 23 signal.pthread_sigmask(signal.SIG_SETMASK, orig_mask)
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | sigsuspend.cpp | 39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL)); in main()
|
| H A D | signal_recursive.cpp | 40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
|
| /llvm-project-15.0.7/libc/src/signal/linux/ |
| H A D | signal.h | 49 return __llvm_libc::syscall(SYS_rt_sigprocmask, SIG_SETMASK, &native_sigset, in restore_signals()
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | common.h | 199 #define SIG_SETMASK 2 macro 525 __sigprocmask(SIG_SETMASK, SignalMask, nullptr); in ~Lock()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Process.inc | 244 if (int EC = pthread_sigmask(SIG_SETMASK, &FullSet, &SavedSet)) 247 if (sigprocmask(SIG_SETMASK, &FullSet, &SavedSet) < 0) 259 EC = pthread_sigmask(SIG_SETMASK, &SavedSet, nullptr); 261 if (sigprocmask(SIG_SETMASK, &SavedSet, nullptr) < 0)
|
| /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/ |
| H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 290 internal_sigprocmask(SIG_SETMASK, &old_sigset, 0); in StopTheWorld()
|
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 436 internal_sigprocmask(SIG_SETMASK, &old_sigset, 0); in StopTheWorld()
|
| H A D | sanitizer_mac.cpp | 772 internal_sigprocmask(SIG_SETMASK, &set, &old); in internal_start_thread() 775 internal_sigprocmask(SIG_SETMASK, &old, 0); in internal_start_thread()
|
| H A D | sanitizer_linux.cpp | 160 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, set, old)); in SetSigProcMask()
|
| /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()
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | stdc.td | 671 Macro<"SIG_SETMASK">,
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| 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()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Linux_util.cpp | 530 status = pthread_sigmask(SIG_SETMASK, &old_set, NULL); in __kmp_launch_worker()
|