OSDN Git Service

* dwarf2out.c (size_of_die): For -gdwarf-4 use
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 15:37:03 +0000 (15:37 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:15:44 +0000 (14:15 +0900)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157871 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog

index fce1d6d..bcc218b 100644 (file)
@@ -1,5 +1,17 @@
 2010-03-31  Jakub Jelinek  <jakub@redhat.com>
 
+       * 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.
+
        * var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn
        instead of cselib_lookup following by tweaking locs->setting_insn.