[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 10:59:44 PDT 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-When-we-are-compiling-in-ObjC-ARC-Mode-place-an-objc.patch
Type: application/octet-stream
Size: 8923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130515/9f4d0dcb/attachment.obj>


More information about the cfe-commits mailing list