[patch] Clang producing a L symbol in __DATA,__data
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Mar 13 05:10:26 PDT 2014
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