Home
last modified time | relevance | path

Searched refs:pthread_sigmask (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/driver/job_control/
H A Dshell.py13 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 Dsignal_block.cpp26 if (pthread_sigmask(SIG_BLOCK, &myset, 0)) { in thread()
33 if (pthread_sigmask(SIG_UNBLOCK, &myset, 0)) { in thread()
H A Dsignal_recursive.cpp40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
/llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/
H A Dsignals-blocked.cpp23 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 DMainLoop.cpp155 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 DProcess.inc244 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 DProcessLauncherPosixFork.cpp154 pthread_sigmask(SIG_SETMASK, &set, nullptr) != 0) in ChildFunc()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp189 LLVM_SYMBOLIZER_INTERCEPTOR3(pthread_sigmask,
/llvm-project-15.0.7/lldb/tools/driver/
H A DDriver.cpp683 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 Dtsan_interceptors_posix.cpp1960 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 Dtsan_interceptors_posix.cpp1962 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 Dz_Linux_util.cpp510 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 Ddone_abilist.txt190 fun:pthread_sigmask=discard
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()
H A Dlibc_ubuntu1404_abilist.txt2645 fun:pthread_sigmask=uninstrumented
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp244 return pthread_sigmask(how, set, oldset); in internal_sigprocmask()
H A Dsanitizer_common_interceptors.inc4385 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 Dmsan_test.cpp2590 TEST(MemorySanitizer, pthread_sigmask) { in TEST() argument
2593 int res = pthread_sigmask(SIG_BLOCK, 0, &s); in TEST()