Home
last modified time | relevance | path

Searched refs:__cxa_atexit (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dh_atexit.c42 extern int __cxa_atexit(void (*func)(void *), void *, void *);
195 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, dso_handle_1)); in main()
196 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, dso_handle_1)); in main()
197 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, dso_handle_2)); in main()
198 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, dso_handle_3)); in main()
203 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, &dso_handle_1)); in main()
204 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, &dso_handle_1)); in main()
205 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, &dso_handle_2)); in main()
206 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, &dso_handle_3)); in main()
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dh_atexit.c47 extern int __cxa_atexit(void (*func)(void *), void *, void *);
186 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, dso_handle_1)); in main()
187 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, dso_handle_1)); in main()
188 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, dso_handle_2)); in main()
189 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, dso_handle_3)); in main()
194 ASSERT(0 == __cxa_atexit(cxa_handler_4, &arg_1, &dso_handle_1)); in main()
195 ASSERT(0 == __cxa_atexit(cxa_handler_5, &arg_1, &dso_handle_1)); in main()
196 ASSERT(0 == __cxa_atexit(cxa_handler_3, &arg_2, &dso_handle_2)); in main()
197 ASSERT(0 == __cxa_atexit(cxa_handler_2, &arg_3, &dso_handle_3)); in main()
/freebsd/lib/libc/arm/aeabi/
H A Daeabi_atexit.c30 int __cxa_atexit(void (*)(void *), void *, void *);
35 return __cxa_atexit(func, object, dso); in __aeabi_atexit()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp719 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, argument
722 return REAL(__cxa_atexit)(func, arg, dso_handle);
727 int res = REAL(__cxa_atexit)(func, arg, dso_handle);
728 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr); local
740 int res = REAL(__cxa_atexit)((void (*)(void *a))func, nullptr, nullptr);
741 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr); local
862 ASAN_INTERCEPT_FUNC(__cxa_atexit);
/freebsd/lib/libc/stdlib/
H A Datexit.c82 int __cxa_atexit(void (*)(void *), void *, void *);
171 __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() function
H A DSymbol.map7 __cxa_atexit;
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp370 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, in INTERCEPTOR()
373 return REAL(__cxa_atexit)(func, arg, dso_handle);
375 #define LSAN_MAYBE_INTERCEPT___CXA_ATEXIT INTERCEPT_FUNCTION(__cxa_atexit)
383 return REAL(__cxa_atexit)((void (*)(void *a))f, 0, 0);
368 INTERCEPTOR(int,__cxa_atexit,void (* func)(void *),void * arg,void * dso_handle) INTERCEPTOR() argument
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp169 // Override __cxa_atexit and ignore callbacks.
195 int __cxa_atexit(void (*f)(void *a), void *arg, void *dso) { return 0; }
167 int __cxa_atexit(void (*f)(void *a), void *arg, void *dso) { return 0; } __cxa_atexit() function
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1292 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, in INTERCEPTOR() argument
1294 if (msan_init_is_running) return REAL(__cxa_atexit)(func, arg, dso_handle); in INTERCEPTOR()
1302 return REAL(__cxa_atexit)((void (*)(void *a))func, 0, 0); in INTERCEPTOR()
1319 res = REAL(__cxa_atexit)((void (*)(void *a))MSanAtExitWrapper, 0, 0); in setup_at_exit_wrapper()
1324 res = REAL(__cxa_atexit)(MSanCxaAtExitWrapper, r, dso); in setup_at_exit_wrapper()
1918 INTERCEPT_FUNCTION(__cxa_atexit); in InitializeInterceptors()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dglobal_symbols.txt26 __cxa_atexit U
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp456 TSAN_INTERCEPTOR(int, __cxa_atexit, void (*f)(void *a), void *arg, void *dso) { in TSAN_INTERCEPTOR() argument
459 SCOPED_TSAN_INTERCEPTOR(__cxa_atexit, f, arg, dso); in TSAN_INTERCEPTOR()
484 res = REAL(__cxa_atexit)((void (*)(void *a))at_exit_callback_installed_at, in setup_at_exit_wrapper()
491 res = REAL(__cxa_atexit)(cxa_at_exit_callback_installed_at, ctx, dso); in setup_at_exit_wrapper()
3049 TSAN_INTERCEPT(__cxa_atexit); in InitializeInterceptors()
3061 if (REAL(__cxa_atexit)(&finalize, 0, 0)) { in InitializeInterceptors()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def53 CODEGENOPT(CXAAtExit , 1, 1) ///< Use __cxa_atexit for calling destructors.
54 CODEGENOPT(RegisterGlobalDtorsWithAtExit, 1, 1) ///< Use atexit or __cxa_atexit to register global …
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt145 fun:__cxa_atexit=discard
H A Dlibc_ubuntu1404_abilist.txt558 fun:__cxa_atexit=uninstrumented
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def469 /// int __cxa_atexit(void (*f)(void *), void *p, void *d);
471 TLI_DEFINE_STRING_INTERNAL("__cxa_atexit")
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td3403 "Don't use __cxa_atexit for calling destructors">,
4057 BothFlags<[], [ClangOption], " atexit or __cxa_atexit to register global destructors">>;