]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r357362 from upstream clang trunk (by David Chisnall):
authordim <dim@FreeBSD.org>
Tue, 2 Apr 2019 17:51:28 +0000 (17:51 +0000)
committerdim <dim@FreeBSD.org>
Tue, 2 Apr 2019 17:51:28 +0000 (17:51 +0000)
commit345c2b40ef079e652a06ae1826c4038de6258cc8
tree02b14ab8acf846b8b321e682876607abc1df2533
parent8d4daa603c41fc11d0e6996272655847c7df5e3d
Pull in r357362 from upstream clang trunk (by David Chisnall):

  [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.

This should help with updating the libobjc2 port for armv7.

Requested by: theraven
Upstream PR: https://github.com/gnustep/libobjc2/issues/83
MFC after: 3 days
contrib/llvm/tools/clang/lib/CodeGen/CGObjCGNU.cpp