/openbsd-current/lib/libc/stdlib/ |
H A D | atexit.h | 55 int __cxa_atexit(void (*)(void *), void *, void *); 59 PROTO_NORMAL(__cxa_atexit); variable
|
H A D | atexit.c | 68 __cxa_atexit(void (*func)(void *), void *arg, void *dso) function 112 DEF_STRONG(__cxa_atexit); variable 122 return (__cxa_atexit((void (*)(void *))fn, NULL, NULL)); 140 * Call all handlers registered with __cxa_atexit() for the shared
|
/openbsd-current/lib/csu/ |
H A D | crtbeginS.c | 59 * Include support for the __cxa_atexit/__cxa_finalize C++ abi for 71 extern int __cxa_atexit(void (*)(void *), void *, void *) __attribute__((weak)); 77 return (__cxa_atexit((void (*)(void *))fn, NULL, &__dso_handle));
|
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_interceptors.cpp | 599 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, 602 if (UNLIKELY(!asan_inited)) return REAL(__cxa_atexit)(func, arg, dso_handle); 608 int res = REAL(__cxa_atexit)(func, arg, dso_handle); 609 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr); 621 int res = REAL(__cxa_atexit)((void (*)(void *a))func, nullptr, nullptr); 622 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr); 725 ASAN_INTERCEPT_FUNC(__cxa_atexit);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 368 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, 371 return REAL(__cxa_atexit)(func, arg, dso_handle); 373 #define LSAN_MAYBE_INTERCEPT___CXA_ATEXIT INTERCEPT_FUNCTION(__cxa_atexit) 381 return REAL(__cxa_atexit)((void (*)(void *a))f, 0, 0);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/ |
H A D | sanitizer_symbolize.cpp | 131 // Override __cxa_atexit and ignore callbacks. 157 int __cxa_atexit(void (*f)(void *a), void *arg, void *dso) { return 0; } function
|
/openbsd-current/gnu/gcc/gcc/config/ |
H A D | darwin-crt3.c | 0 /* __cxa_atexit backwards-compatibility support for Darwin. 47 The first problem is that there is no __cxa_atexit on Mac OS versions 49 __cxa_atexit emulation called from the regular atexit. 54 is worked around by wrapping each atexit/__cxa_atexit routine with 55 our own routine which ensures that any __cxa_atexit calls while it 140 /* &__cxa_atexit; set if atexit_status >= atexit_status_broken. */ 149 /* Return 0 if __cxa_atexit has the bug it has in Mac OS 10.4: it 298 r->cxa_atexit_f = (cxa_atexit_p)dlsym (handle, "__cxa_atexit"); 421 /* This code is used while running on 10.3.9, when __cxa_atexit doesn't 448 /* This is our wrapper around atexit and __cxa_atexit 513 __cxa_atexit (cxa_atexit_callback func, void* arg, const void* dso) function [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 1187 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, 1189 if (msan_init_is_running) return REAL(__cxa_atexit)(func, arg, dso_handle); 1197 return REAL(__cxa_atexit)((void (*)(void *a))func, 0, 0); 1214 res = REAL(__cxa_atexit)((void (*)(void *a))MSanAtExitWrapper, 0, 0); 1219 res = REAL(__cxa_atexit)(MSanCxaAtExitWrapper, r, dso); 1789 INTERCEPT_FUNCTION(__cxa_atexit);
|
/openbsd-current/gnu/usr.bin/gcc/ |
H A D | Makefile.bsd-wrapper | 95 --enable-__cxa_atexit \
|
/openbsd-current/gnu/gcc/libstdc++-v3/libsupc++/ |
H A D | cxxabi.h | 139 __cxa_atexit(void (*)(void*), void*, void*);
|
H A D | vec.cc | 508 return abi::__cxa_atexit(destructor, object, dso_handle);
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/libsupc++/ |
H A D | cxxabi.h | 534 __cxa_atexit (void (*)(void *), void *, void *);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 451 TSAN_INTERCEPTOR(int, __cxa_atexit, void (*f)(void *a), void *arg, void *dso) { 454 SCOPED_TSAN_INTERCEPTOR(__cxa_atexit, f, arg, dso); 465 // Memory allocation in __cxa_atexit will race with free during exit, 475 // __cxa_atexit calls calloc. If we don't ignore interceptors, we will fail 479 res = REAL(__cxa_atexit)((void (*)(void *a))at_exit_callback_installed_at, 486 res = REAL(__cxa_atexit)(cxa_at_exit_callback_installed_at, ctx, dso); 512 // Memory allocation in __cxa_atexit will race with free during exit, 3031 TSAN_INTERCEPT(__cxa_atexit); 3052 if (REAL(__cxa_atexit)(&finalize, 0, 0)) {
|