[clang] [clang][Fuchsia] Have global dtors use llvm.global_dtors over atexit (PR #115788)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 13:07:14 PST 2024


efriedma-quic wrote:

Also, I'm not sure objects are destroyed in the correct order.

-----

As far as I know, fini_array existed at the time the Itanium ABI was written; I assume it intentionally was not used because there were issues ensuring the correct objects are destroyed in the correct order.

https://github.com/llvm/llvm-project/pull/115788


More information about the cfe-commits mailing list