[llvm-commits] [llvm-gcc-4.2] r77276 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

Chris Lattner clattner at apple.com
Tue Jul 28 10:26:29 PDT 2009


On Jul 27, 2009, at 4:50 PM, Bill Wendling wrote:

> Author: void
> Date: Mon Jul 27 18:50:57 2009
> New Revision: 77276
>
> URL: http://llvm.org/viewvc/llvm-project?rev=77276&view=rev
> Log:
> LTO was stripping some Objective-C metadata symbols because IPSCCP  
> thought that
> they were dead. They weren't in the llvm.used list. Mark them as  
> "preserve" so
> that they're placed into the list.
>
> The testcase for this is the SingleSource/UnitTests/ObjC/protocols.m  
> file in
> the test suite.

Thanks Bill.  At some point, we have to get objc metadata into  
llvm.used.compiler instead of llvm.used.  Out of curiosity, is this on  
your todo list? :)

-Chris
  



More information about the llvm-commits mailing list