Home
last modified time | relevance | path

Searched refs:oucp (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mac.cpp403 TSAN_INTERCEPTOR(int, swapcontext, ucontext_t *oucp, const ucontext_t *ucp) { in TSAN_INTERCEPTOR() argument
405 SCOPED_INTERCEPTOR_RAW(swapcontext, oucp, ucp); in TSAN_INTERCEPTOR()
409 if (!oucp || !ucp) { in TSAN_INTERCEPTOR()
415 oucp->uc_onstack &= ~UCF_SWAPPED; in TSAN_INTERCEPTOR()
417 int ret = getcontext(oucp); in TSAN_INTERCEPTOR()
418 if (!(oucp->uc_onstack & UCF_SWAPPED)) { in TSAN_INTERCEPTOR()
421 oucp->uc_onstack |= UCF_SWAPPED; in TSAN_INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_interceptors.cpp269 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() argument
287 int res = real_swapcontext(oucp, ucp); in INTERCEPTOR()
289 int res = REAL(swapcontext)(oucp, ucp); in INTERCEPTOR()
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc342 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() argument
355 int res = REAL(swapcontext)(oucp, ucp); in INTERCEPTOR()