r218287 - Don't use comdats for initializers on platforms that don't support it

Rafael Avila de Espindola rafael.espindola at gmail.com
Mon Sep 22 17:32:04 PDT 2014


> URL: http://llvm.org/viewvc/llvm-project?rev=218287&view=rev
> Log:
> Don't use comdats for initializers on platforms that don't support it
> 
> In particular, pre-.init_array ELF uses the .ctors section mechanism.
> MinGW COFF also uses .ctors, now that I think about it.

Why doesn't it work with .ctors? It is just a list of pointers like .init_array.

Cheers,
Rafael



More information about the cfe-commits mailing list