Emit the ctors in the proper order on ARM/EABI.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 3 Dec 2011 23:49:37 +0000 (23:49 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 3 Dec 2011 23:49:37 +0000 (23:49 +0000)
commit0cb2a45cceaefb48ec7efb902c453aaae4e24cb2
tree194dc5e379c84d0f1a061c47fb0dfa186dbb05b4
parent80b1ae92922202c197078038c4229045cb1e295f
Emit the ctors in the proper order on ARM/EABI.
Maybe some targets should use this as well.

Patch by Evgeniy Stepanov!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145781 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCObjectFileInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/MC/MCObjectFileInfo.cpp
lib/Target/ARM/ARMTargetObjectFile.cpp
test/CodeGen/ARM/ctor_order.ll [new file with mode: 0644]