[cfe-commits] [patch] Alternative fix for pr9614

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Wed Oct 26 12:03:45 PDT 2011

This patch implements something on the line of Eli's comment:

 >Oh, also, if you want to get something into 3.0 quickly, just hacking
 >clang so it doesn't emit the definition at all in situations like
 >PR9614 would be more obviously acceptable.

I now think that this is the correct fix given how bad the code snippet 
is. What the patch does is try to detect cases where the external 
functions "cannot" be equivalent to available_externally one we are 
about to emit.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr9614.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111026/fdc612e4/attachment.ksh>

More information about the cfe-commits mailing list