r194296 - Use rauw for all discardable aliases, not just linkonce_odr.

Joerg Sonnenberger joerg at britannica.bec.de
Thu Nov 21 04:53:17 PST 2013


On Fri, Nov 08, 2013 at 11:46:20PM -0000, Rafael Espindola wrote:
> Author: rafael
> Date: Fri Nov  8 17:46:20 2013
> New Revision: 194296
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=194296&view=rev
> Log:
> Use rauw for all discardable aliases, not just linkonce_odr.

This breaks boost::locale and possibly other things. Attached is a test
case. Compile with -O2 -std=c++11 before and after and look for
    std::__1::moneypunct_byname<char, false>::~moneypunct_byname
in the nm -C output.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numeric.cc
Type: text/x-c++src
Size: 763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131121/4c5df2f9/attachment.cc>


More information about the cfe-commits mailing list