[PATCH] Use the new DWARF4 mandated DW_FORMs for -gdwarf-4
Richard Henderson
rth@redhat.com
Wed Mar 31 15:31:00 GMT 2010
On 03/31/2010 08:16 AM, Jakub Jelinek wrote:
> * dwarf2out.c (size_of_die): For -gdwarf-4 use
> uleb128 size instead of fixed 1 or 2 for dw_val_class_loc
> and 0 instead of 1 for dw_val_class_flag.
> (value_format): For -gdwarf-4 use DW_FORM_sec_offset for
> dw_val_class_range_list, dw_val_class_loc_list,
> dw_val_class_lineptr and dw_val_class_macptr, use
> DW_FORM_flag_present for dw_val_class_flag and
> DW_FORM_exprloc for dw_val_class_loc.
> (output_die): For -gdwarf-4 print dw_val_class_loc
> size as uleb128 instead of 1 or 2 bytes and don't print
> anything for dw_val_class_flag.
Ok.
r~
More information about the Gcc-patches
mailing list