[patch] Clang producing a L symbol in __DATA,__data

Rafael Espíndola rafael.espindola at gmail.com
Thu Mar 20 11:24:08 PDT 2014


ping

On 13 March 2014 05:10, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> ping
>
> On 6 March 2014 20:28, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>> My understanding is that __DATA,__data is a section that is atomized
>> by the linker and cannot have L symbols.
>>
>> A simple testcase is
>>
>> @protocol P
>> -(void) im0;
>> @end
>> @interface A<P>
>> @end
>> @implementation A
>> @end
>>
>> where clang currently prints
>>
>>         .section        __DATA,__data
>> ...
>> L_OBJC_PROTOCOLEXT_P:
>>
>> With the attached patch we print l_OBJC_PROTOCOLEXT_P.
>>
>> Cheers,
>> Rafael




More information about the cfe-commits mailing list