Searched refs:__cxa_atexit (Results 1 - 13 of 13) sorted by relevance

/openbsd-current/lib/libc/stdlib/
H A Datexit.h55 int __cxa_atexit(void (*)(void *), void *, void *);
59 PROTO_NORMAL(__cxa_atexit); variable
H A Datexit.c68 __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 DcrtbeginS.c59 * 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 Dasan_interceptors.cpp599 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 Dlsan_interceptors.cpp368 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 Dsanitizer_symbolize.cpp131 // 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 Ddarwin-crt3.c0 /* __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 Dmsan_interceptors.cpp1187 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 DMakefile.bsd-wrapper95 --enable-__cxa_atexit \
/openbsd-current/gnu/gcc/libstdc++-v3/libsupc++/
H A Dcxxabi.h139 __cxa_atexit(void (*)(void*), void*, void*);
H A Dvec.cc508 return abi::__cxa_atexit(destructor, object, dso_handle);
/openbsd-current/gnu/lib/libstdc++/libstdc++/libsupc++/
H A Dcxxabi.h534 __cxa_atexit (void (*)(void *), void *, void *);
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp451 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)) {

Completed in 280 milliseconds