This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix problems with -fdebug-types-section and local types
> 2012-08-07 Cary Coutant <ccoutant@google.com>
>
> gcc/
> * dwarf2out.c (clone_as_declaration): Copy DW_AT_abstract_origin
> attribute.
> (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
> from original DIE.
> (clone_tree_hash): Rename to ...
> (clone_tree_partial): ... this; change callers. Copy
> DW_TAG_subprogram DIEs as declarations.
>
> gcc/testsuite/
> * testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C: New test case.
> * testsuite/g++.dg/debug/dwarf2/dwarf4-typedef.C: Add
> -fdebug-types-section flag.
Ping?
-cary