diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-01-08 21:47:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-08 21:47:58 -0800 |
commit | b30f9d74d6a0f735ef597b1acae73daac2d7df39 (patch) | |
tree | ede0212248bfcea9add52a5d791f537f13ff80a2 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 459d413b74b7f41e820328fefc38ff93b2e42b00 (diff) | |
download | llvm-b30f9d74d6a0f735ef597b1acae73daac2d7df39.zip llvm-b30f9d74d6a0f735ef597b1acae73daac2d7df39.tar.gz llvm-b30f9d74d6a0f735ef597b1acae73daac2d7df39.tar.bz2 |
[libc] Fix return value of __cxa_thread_atexit_impl function. (#122171)
This has been added in 0071a79532e8d664b734956a431d8c8c942cc25e 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).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions