On Fri, Oct 05, 2012 at 11:12:54PM -0000, Alex Rosenberg wrote:
> Author: alexr
> Date: Fri Oct 5 18:12:53 2012
> New Revision: 165343
>
> URL: http://llvm.org/viewvc/llvm-project?rev=165343&view=rev
> Log:
> Propagate calling convention for aliases and weakrefs.
This broke weakrefs. Attached is a test case that shows that the weak
reference is lost.
Joerg
static char *my_get_alias_text(const char *)
__attribute__((__weakref__("get_alias_text")));
void foo(void)
{
if (my_get_alias_text)
my_get_alias_text("");
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits