[PATCH] Use the new DWARF4 mandated DW_FORMs for -gdwarf-4

Tom Tromey tromey@redhat.com
Fri Apr 9 23:11:00 GMT 2010


>>>>> "Daniel" == Daniel Jacobowitz <dan@codesourcery.com> writes:

Jakub> This patch makes -gdwarf-4 use the forms that are required by the
Jakub> DWARF4 standard instead of the legacy forms.  For flags we always
Jakub> seem to use just flags with value 1, so we can use DW_FORM_flag_present
Jakub> in all places for -gdwarf-4 and save 1 byte per flag in DIE.

Daniel> This is nice... but shouldn't we make GDB (at least HEAD) support it
Daniel> first?  Otherwise, I'm not sure how we can test this.

Just for the record, I am testing a GDB patch.

Tom



More information about the Gcc-patches mailing list