[patch] Remove linkonce_odr_auto_hide

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Oct 31 19:46:09 PDT 2013


linkonce_odr_auto_hide was in incomplete attempt to implement a way
for the linker to hide symbols that are known to be available in every
TU and whose addresses are not relevant for a particular DSO.

It is redundant in that it all its uses are equivalent to
linkonce_odr+unnamed_addr. Unlike those, it has never been connected
to clang or llvm's optimizers, so it is effectively dead.

Given that nothing produces it, the attached patch is hopefully OK. It
just nukes it completely. If there are out of tree users I can add
code to upgrade it to linkonce_odr + unnamed_addr.

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


More information about the llvm-commits mailing list