Searched refs:oucp (Results 1 – 2 of 2) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_mac.cpp | 404 TSAN_INTERCEPTOR(int, swapcontext, ucontext_t *oucp, const ucontext_t *ucp) { in TSAN_INTERCEPTOR() argument 406 SCOPED_INTERCEPTOR_RAW(swapcontext, oucp, ucp); in TSAN_INTERCEPTOR() 410 if (!oucp || !ucp) { in TSAN_INTERCEPTOR() 416 oucp->uc_onstack &= ~UCF_SWAPPED; in TSAN_INTERCEPTOR() 418 int ret = getcontext(oucp); in TSAN_INTERCEPTOR() 419 if (!(oucp->uc_onstack & UCF_SWAPPED)) { in TSAN_INTERCEPTOR() 422 oucp->uc_onstack |= UCF_SWAPPED; in TSAN_INTERCEPTOR()
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_interceptors.cpp | 292 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() argument 310 int res = real_swapcontext(oucp, ucp); in INTERCEPTOR() 312 int res = REAL(swapcontext)(oucp, ucp); in INTERCEPTOR()
|