[llvm] r216905 - Replace -use-init-array with -use-ctors.

Joerg Sonnenberger joerg at britannica.bec.de
Tue Sep 2 10:56:36 PDT 2014

On Tue, Sep 02, 2014 at 10:37:41AM -0400, Rafael EspĂ­ndola wrote:
> >> Clang is not affected by this. It has its own fancier logic.
> >
> > IMO the default is wrong. The list of systems that allow .init_array at least
> > for ELF is quite small. IIRC Linux, DragonFly and AArch64 in general.
> On the llvm using .init_array seems more convenient
> * It is what newer systems are normally using.
> * Most developers are on systems with .init_array.

* It is the default that breaks on all other systems. 

Given the small gains, I don't really see a point in going to all the
associated pain...


More information about the llvm-commits mailing list