]> granicus.if.org Git - clang/commit
[objc-gnustep] Use .init_array not .ctors when requested.
authorDavid Chisnall <csdavec@swan.ac.uk>
Sun, 31 Mar 2019 11:22:19 +0000 (11:22 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sun, 31 Mar 2019 11:22:19 +0000 (11:22 +0000)
commit3181e8ef22a8ace464f299b7a565b4e13351f8de
treee8c3dc1b0e9339da9ff075221a03943200b0a5e6
parentce76f242a3a88b0a44c9567eff34aea2441dad56
[objc-gnustep] Use .init_array not .ctors when requested.

This doesn't make a difference most of the time but FreeBSD/ARM doesn't
run anything in the .ctors array.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357362 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCGNU.cpp
test/CodeGenObjC/gnu-init.m