[cfe-commits] [PATCH] propagate calling convention into aliases and weakrefs

Alex Rosenberg alexr at leftfield.org
Tue Oct 2 18:25:36 PDT 2012


On Sep 11, 2012, at 11:54 AM, John McCall wrote:

> On Sep 10, 2012, at 3:26 PM, Alex Rosenberg wrote:
>> A coworker noticed that you can end up with mismatched CCs if you use an alias. I extended this fix into weakrefs, which I noticed by inspection.
> 
> The FileCheckizement is approved.
> 
> Does the world explode if you pass the GlobalDecl for the alias to
> GetOrCreateLLVMFunction?  Maybe only if it's a FunctionDecl?
> That would the be ideal fix.

I think the attached is what you meant.

-----------------------------------------
Alex Rosenberg
Manager, Platform Architecture
Sony Computer Entertainment America, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aliases.diff
Type: application/octet-stream
Size: 3821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121002/d9dc2327/attachment.obj>


More information about the cfe-commits mailing list