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

Bill Wendling isanbard at gmail.com
Tue Jul 28 21:51:52 PDT 2009


On Jul 28, 2009, at 10:26 AM, Chris Lattner wrote:

> 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? :)
>
It is. :-) But it's been given a slightly lower priority to other  
things.

-bw




More information about the llvm-commits mailing list