Home
last modified time | relevance | path

Searched refs:swapcontext (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfiber_from_thread.cpp16 swapcontext(&orig_uc2, &orig_uc1); in Thread()
25 swapcontext(&uc, &orig_uc1); in func()
38 swapcontext(&orig_uc1, &uc); in main()
41 swapcontext(&orig_uc1, &orig_uc2); in main()
H A Dfiber_two_threads.cpp17 swapcontext(&uc, &orig_uc[0]); in switch0()
24 swapcontext(&uc, &orig_uc[1]); in func()
33 swapcontext(&orig_uc[1], &uc); in Thread()
52 swapcontext(&orig_uc[0], &uc); in main()
H A Dfiber_simple.cpp17 swapcontext(&uc, &orig_uc); in func()
30 swapcontext(&orig_uc, &uc); in main()
H A Dfiber_race.cpp17 swapcontext(&uc, &orig_uc); in func()
30 swapcontext(&orig_uc, &uc); in main()
H A Dfiber_longjmp.cpp64 swapcontext(&orig_uc, &uc); in main()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dswapcontext_annotation.cpp71 if (swapcontext(&next_child_context, &orig_context) < 0) { in NextChild()
96 if (swapcontext(&child_context, &orig_context) < 0) { in Child()
110 if (swapcontext(&child_context, &next_child_context) < 0) { in Child()
132 if (swapcontext(&orig_context, &child_context) < 0) { in Run()
161 if (swapcontext(&child_huge_stack_context, &orig_huge_stack_context) < 0) { in ChildHugeStack()
176 if (swapcontext(&orig_huge_stack_context, &child_huge_stack_context) < 0) { in DoRunHugeStack()
H A Dswapcontext_test.cpp46 if (swapcontext(&child_context, &orig_context) < 0) { in Child()
66 if (swapcontext(&orig_context, &child_context) < 0) { in Run()
/llvm-project-15.0.7/compiler-rt/test/lsan/TestCases/
H A Dswapcontext.cpp35 if (swapcontext(&orig_context, &child_context) < 0) { in main()
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dswapcontext_annotation.cpp52 if (swapcontext(&main_ctx, &fiber_ctx) == -1) { in main()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp268 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() argument
288 __attribute__((__indirect_return__)) = REAL(swapcontext); in INTERCEPTOR()
291 int res = REAL(swapcontext)(oucp, ucp); in INTERCEPTOR()
663 ASAN_INTERCEPT_FUNC(swapcontext); in InitializeAsanInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_mac.cpp404 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()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp404 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()
/llvm-project-15.0.7/clang/docs/
H A DSafeStack.rst101 yet either: system library functions such as ``swapcontext``, exception
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt3052 fun:swapcontext=uninstrumented