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

jahanian fjahanian at apple.com
Wed May 15 11:09:47 PDT 2013


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/100fadad/attachment.html>


More information about the cfe-commits mailing list