[PATCH] Attach "objc-arc" function attribute to function definitions compiled in a module with ARC enabled.

Michael Gottesman mgottesman at apple.com
Wed May 15 11:15:06 PDT 2013


Good point (updating patch).

Michael

On May 15, 2013, at 11:09 AM, jahanian <fjahanian at apple.com> wrote:

> If this attribute is consumed by LTO, why can’t we set when in LTO optimization mode only?
> - fariborz
> 
> On May 15, 2013, at 10:59 AM, Michael Gottesman <mgottesman at apple.com> wrote:
> 
>> The following patch attaches to all function definitions in a module compiled with ARC the function attribute "objc-arc". This enables us to know which functions to run ObjCARCContract on when we compile ARC applications with LTO.
>> 
>> Please Review,
>> Michael
>> 
>> <0001-When-we-are-compiling-in-ObjC-ARC-Mode-place-an-objc.patch>_______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130515/7e7bad84/attachment.html>


More information about the cfe-commits mailing list