gt; a normal regstrap.
>
> … now with the correct patch.
>
> [PATCH v2] IPA: Provide a mechanism to register static DTORs via
> cxa_atexit.
>
> For at least one target (Darwin) the platform convention is to
> register static destructors (i.e. __attribute__((destructor))
tch.
[PATCH v2] IPA: Provide a mechanism to register static DTORs via
cxa_atexit.
For at least one target (Darwin) the platform convention is to
register static destructors (i.e. __attribute__((destructor)))
with __cxa_atexit rather than placing them into a list that is
run by some other mechani
I tried enabling this on x86-64-linux (just for interest) and it seems to work
OK there too - but that testing revealed a thinko that didn’t show with a
a normal regstrap.
Changes from original post:
1. amended a comment
2. fixed a thinko where I was not allowing for functions declared