/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_atexit.c | 42 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 D | h_atexit.c | 47 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 D | aeabi_atexit.c | 30 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 D | asan_interceptors.cpp | 719 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 D | atexit.c | 82 int __cxa_atexit(void (*)(void *), void *, void *); 171 __cxa_atexit(void (*func)(void *), void *arg, void *dso) in __cxa_atexit() function
|
H A D | Symbol.map | 7 __cxa_atexit;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 370 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 D | sanitizer_symbolize.cpp | 169 // 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 D | msan_interceptors.cpp | 1292 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 D | global_symbols.txt | 26 __cxa_atexit U
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 456 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 D | CodeGenOptions.def | 53 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 D | done_abilist.txt | 145 fun:__cxa_atexit=discard
|
H A D | libc_ubuntu1404_abilist.txt | 558 fun:__cxa_atexit=uninstrumented
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.def | 469 /// 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 D | Options.td | 3403 "Don't use __cxa_atexit for calling destructors">, 4057 BothFlags<[], [ClangOption], " atexit or __cxa_atexit to register global destructors">>;
|