[llvm-commits] Fix constructor order on ARM/ELF

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Nov 24 04:46:11 PST 2011


This patch fixes PR11322. Current LLVM executes module constructors in
reverse priority order because of a mix-up between .ctors and
.init_array semantics.
It also does a little bit of refactoring by moving StructorOutputOrder
field from MCAsmInfo to MCObjectFileInfo so that it can depend on the
ABI.

Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.patch
Type: text/x-patch
Size: 7033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111124/8b0d2d57/attachment.bin>


More information about the llvm-commits mailing list