Home
last modified time | relevance | path

Searched refs:SIG_SETMASK (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/libc/test/src/signal/
H A Dsigprocmask_test.cpp27 __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 Dsigfillset_test.cpp27 EXPECT_THAT(__llvm_libc::sigprocmask(SIG_SETMASK, &set, nullptr), Succeeds()); in TEST()
H A Dsigdelset_test.cpp34 EXPECT_THAT(__llvm_libc::sigprocmask(SIG_SETMASK, &set, nullptr), Succeeds()); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp63 #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 Dtsan_platform_linux.cpp494 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 Dtsan_interceptors_posix.cpp147 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 Dtsan_platform_linux.cpp502 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 Dtsan_interceptors_posix.cpp147 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 Dshell.py23 signal.pthread_sigmask(signal.SIG_SETMASK, orig_mask)
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dsigsuspend.cpp39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL)); in main()
H A Dsignal_recursive.cpp40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
/llvm-project-15.0.7/libc/src/signal/linux/
H A Dsignal.h49 return __llvm_libc::syscall(SYS_rt_sigprocmask, SIG_SETMASK, &native_sigset, in restore_signals()
/llvm-project-15.0.7/bolt/runtime/
H A Dcommon.h199 #define SIG_SETMASK 2 macro
525 __sigprocmask(SIG_SETMASK, SignalMask, nullptr); in ~Lock()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DProcess.inc244 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 DProcessLauncherPosixFork.cpp154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) in ChildFunc()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp290 internal_sigprocmask(SIG_SETMASK, &old_sigset, 0); in StopTheWorld()
H A Dsanitizer_stoptheworld_linux_libcdep.cpp436 internal_sigprocmask(SIG_SETMASK, &old_sigset, 0); in StopTheWorld()
H A Dsanitizer_mac.cpp772 internal_sigprocmask(SIG_SETMASK, &set, &old); in internal_start_thread()
775 internal_sigprocmask(SIG_SETMASK, &old, 0); in internal_start_thread()
H A Dsanitizer_linux.cpp160 CHECK_EQ(0, internal_sigprocmask(SIG_SETMASK, set, old)); in SetSigProcMask()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DMainLoop.cpp155 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); in get_sigmask()
/llvm-project-15.0.7/libc/spec/
H A Dstdc.td671 Macro<"SIG_SETMASK">,
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp64 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 Dz_Linux_util.cpp530 status = pthread_sigmask(SIG_SETMASK, &old_set, NULL); in __kmp_launch_worker()