/src/lib/libc/include/ |
atexit.h | 34 int __cxa_atexit(void (*)(void *), void *, void *);
|
/src/distrib/utils/zcat/ |
misc.c | 33 int __cxa_atexit(void (*func)(void *), void *arg, void *dso); 35 __cxa_atexit(void (*func)(void *), void *arg, void *dso) function in typeref:typename:int
|
/src/tests/lib/libc/stdlib/ |
h_atexit.c | 42 extern int __cxa_atexit(void (*func)(void *), void *, void *); 170 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, &dso_handle_1)); 171 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, &dso_handle_1)); 172 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, &dso_handle_2)); 173 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, &dso_handle_3));
|
/src/tests/lib/libpthread/ |
h_atexit.c | 30 * Program to test atexit(3) and __cxa_atexit()/__cxa_finalize(). 47 extern int __cxa_atexit(void (*func)(void *), void *, void *); 175 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, &dso_handle_1)); 176 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, &dso_handle_1)); 177 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, &dso_handle_2)); 178 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, &dso_handle_3));
|
/src/lib/libc/stdlib/ |
atexit.c | 118 * Note that __cxa_finalize may generate calls to __cxa_atexit. 133 * or normal atexit type handler. The __cxa_atexit() name and arguments 145 return (__cxa_atexit(func, arg, dso)); 176 __cxa_atexit(void (*func)(void *), void *arg, void *dso) function in typeref:typename:int 188 * itself, not __cxa_atexit.
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_interceptors.cc | 571 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, 574 if (UNLIKELY(!asan_inited)) return REAL(__cxa_atexit)(func, arg, dso_handle); 577 int res = REAL(__cxa_atexit)(func, arg, dso_handle); 578 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr); local in function:INTERCEPTOR 657 ASAN_INTERCEPT_FUNC(__cxa_atexit);
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
msan_interceptors.cc | 1129 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, 1131 if (msan_init_is_running) return REAL(__cxa_atexit)(func, arg, dso_handle); 1139 return REAL(__cxa_atexit)((void (*)(void *a))func, 0, 0); 1156 res = REAL(__cxa_atexit)((void (*)(void *a))MSanAtExitWrapper, 0, 0); 1161 res = REAL(__cxa_atexit)(MSanCxaAtExitWrapper, r, dso); 1696 INTERCEPT_FUNCTION(__cxa_atexit);
|
/src/tools/gcc/ |
Makefile | 42 --enable-__cxa_atexit \
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_interceptors.cc | 416 TSAN_INTERCEPTOR(int, __cxa_atexit, void (*f)(void *a), void *arg, void *dso) { 419 SCOPED_TSAN_INTERCEPTOR(__cxa_atexit, f, arg, dso); 429 // Memory allocation in __cxa_atexit will race with free during exit, 440 res = REAL(__cxa_atexit)((void (*)(void *a))at_exit_wrapper, 0, 0); 446 res = REAL(__cxa_atexit)(cxa_at_exit_wrapper, ctx, dso); 470 // Memory allocation in __cxa_atexit will race with free during exit, 2778 TSAN_INTERCEPT(__cxa_atexit); 2794 if (REAL(__cxa_atexit)(&finalize, 0, 0)) {
|