re PR debug/47510 (DW_TAG_typedef can have children when designating a naming typedef)
PR debug/47510
gcc/
PR debug/47510
* dwarf2out.c (strip_naming_typedef): Factorize out of ...
(lookup_type_die_strip_naming_typedef): ... here.
(get_context_die): Use it.
(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
the anonymous struct named by the naming typedef.
gcc/testsuite/
PR debug/47510
* g++.dg/debug/dwarf2/typedef6.C: New test.
From-SVN: r171073
Showing
gcc/testsuite/g++.dg/debug/dwarf2/typedef6.C
0 → 100644
Please
register
or
sign in
to comment