Rafael Espindola
2cc546db18
Produce .weak_def_can_be_hidden for some linkonce_odr values
...
With this patch llvm produces a weak_def_can_be_hidden for linkonce_odr
if they are also unnamed_addr or don't have their address taken.
There is not a lot of documentation about .weak_def_can_be_hidden, but
from the old discussion about linkonce_odr_auto_hide and the name of
the directive this looks correct: these symbols can be hidden.
Testing this with the ld64 in Xcode 5 linking clang reduces the number of
exported symbols from 21053 to 19049.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193718 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-30 22:08:11 +00:00
..
2013-10-22 08:23:03 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2009-09-08 23:54:48 +00:00
2013-10-15 23:33:07 +00:00
2011-04-05 00:32:44 +00:00
2013-10-15 23:33:07 +00:00
2011-10-16 20:31:33 +00:00
2013-10-15 23:33:07 +00:00
2010-06-24 23:45:15 +00:00
2013-10-15 23:33:07 +00:00
2013-10-07 18:06:48 +00:00
2013-10-07 19:11:35 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-14 16:57:17 +00:00
2013-10-14 22:32:09 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-24 06:50:17 +00:00
2013-10-06 15:10:43 +00:00
2013-10-15 23:33:07 +00:00
2013-10-23 21:06:07 +00:00
2013-10-21 17:51:24 +00:00
2013-10-21 13:27:34 +00:00
2013-10-15 23:33:07 +00:00
2013-10-27 08:18:37 +00:00
2013-10-15 23:33:07 +00:00
2013-10-22 09:19:28 +00:00
2013-10-15 23:33:07 +00:00
2013-10-08 05:53:50 +00:00
2013-10-08 05:53:50 +00:00
2013-10-15 23:33:07 +00:00
2013-10-23 21:06:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-08 05:53:50 +00:00
2013-10-23 21:06:07 +00:00
2013-10-23 19:19:04 +00:00
2013-10-08 06:06:57 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 06:36:36 +00:00
2013-07-14 06:24:09 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-18 02:14:40 +00:00
2013-10-15 23:33:07 +00:00
2013-10-07 18:06:48 +00:00
2013-10-17 11:02:58 +00:00
2013-10-21 23:14:06 +00:00
2009-09-08 23:54:48 +00:00
2013-10-14 07:26:51 +00:00
2013-10-15 23:33:07 +00:00
2013-10-18 02:14:40 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-14 16:57:17 +00:00
2013-10-16 02:27:33 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-09 02:18:34 +00:00
2013-10-08 05:53:50 +00:00
2013-10-15 23:33:07 +00:00
2013-10-24 09:36:08 +00:00
2013-10-14 16:57:17 +00:00
2013-10-09 02:18:34 +00:00
2013-10-17 17:38:49 +00:00
2013-10-18 14:49:59 +00:00
2013-10-07 18:06:48 +00:00
2013-10-17 02:58:06 +00:00
2013-10-23 21:06:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-06-24 09:51:30 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 17:51:02 +00:00
2013-10-15 17:51:58 +00:00
2013-10-23 18:32:43 +00:00
2013-10-15 23:33:07 +00:00
2013-10-16 19:04:11 +00:00
2013-10-20 02:16:21 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-24 06:45:13 +00:00
2013-10-21 17:51:24 +00:00
2013-10-15 23:33:07 +00:00
2013-10-24 06:45:13 +00:00
2013-10-24 07:00:06 +00:00
2013-10-24 07:00:06 +00:00
2013-10-24 06:45:13 +00:00
2013-10-24 06:45:13 +00:00
2013-10-15 23:33:07 +00:00
2013-10-18 02:14:40 +00:00
2013-10-15 23:33:07 +00:00
2012-04-07 21:19:08 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-10 22:37:49 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-08 06:06:57 +00:00
2013-10-10 12:46:23 +00:00
2013-10-08 06:12:26 +00:00
2013-10-08 06:06:57 +00:00
2013-10-08 06:06:57 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-30 22:08:11 +00:00
2013-10-15 23:33:07 +00:00
2013-10-17 12:41:05 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00
2013-10-17 12:41:05 +00:00
2013-10-15 23:33:07 +00:00
2013-10-16 14:16:19 +00:00
2013-10-15 23:33:07 +00:00
2013-10-15 23:33:07 +00:00