Emit global ctors into .CRT$XCU instead of .ctors on Win32. Patch by Joe Groff!
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 23 Feb 2012 21:56:08 +0000 (21:56 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 23 Feb 2012 21:56:08 +0000 (21:56 +0000)
commit32d22ee11dc03a69ef22b0794e301cd32176019d
tree1ce48762c541f04568898942863d8abfdf0ca199
parent8ce6b7daf72627fc8bd95e62a7c4a037eaf3772e
Emit global ctors into .CRT$XCU instead of .ctors on Win32. Patch by Joe Groff!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151289 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
test/MC/COFF/global_ctors.ll [new file with mode: 0644]