Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc] Fix return value of __cxa_thread_atexit_impl function. (llvm#1…
…22171) This has been added in 0071a79 to support TLS destructors. Return value of __cxa_thread_atexit is supposed to be the same as std::atexit - zero on success, non-zero on failure. Update the code to do just that (also be consistent with llvm-libc's existing atexit / at_quick_exit implementations).
- Loading branch information