>>>>> "Roland" == Roland McGrath <[email protected]> writes:

>> See GCC PR 47510.
>> 
>> Basically, this is a GCC extension.  Partly it is there to make the
>> implementation in GDB simpler, but it is also a DWARF reflection of a
>> C++ feature that otherwise has no natural existing representation (at
>> least IMO).

Roland> I read that PR and I see that Dodji's patch adds linkage_name to a type.
Roland> But I don't see anything constituting an explanation of why that makes
Roland> sense to do.

In the test case in the PR, the anonymous struct is given the name `t'
for linkage purposes only.  Therefore, expressing this in DWARF by
emitting `t' as the linkage name seemed to make sense.

Tom
_______________________________________________
elfutils-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to