diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-30 22:08:11 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-30 22:08:11 +0000 |
| commit | 6f1b2852fcddc0ee7f335bff52237e9b5309ee8f (patch) | |
| tree | 58bf9b3791993a1cc165f4d4014ae785df1d8e3e /llvm/docs/CommandGuide | |
| parent | a8e7df3602cf16d411c55b67bf446c5c873c9bf3 (diff) | |
| download | bcm5719-llvm-6f1b2852fcddc0ee7f335bff52237e9b5309ee8f.tar.gz bcm5719-llvm-6f1b2852fcddc0ee7f335bff52237e9b5309ee8f.zip | |
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.
llvm-svn: 193718
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions

