[patch] Produce .weak_def_can_be_hidden for some linkonce_odr values

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 23 15:25:47 PDT 2013


The attached patch 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.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 4025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131023/c9dea6f1/attachment.bin>


More information about the llvm-commits mailing list