diff options
author | Mark Wielaard <mjw@redhat.com> | 2012-08-20 20:27:46 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2012-08-20 20:27:46 +0000 |
commit | 413de8e5c791fbeddf93b89394947783a15bf60b (patch) | |
tree | 5c373f6ede262df0f4ea4a327dfc2535f794f13d /gcc/dwarf2out.h | |
parent | ed0ba472c654095656fe1da371ee1a710fce2cf0 (diff) | |
download | gcc-413de8e5c791fbeddf93b89394947783a15bf60b.zip gcc-413de8e5c791fbeddf93b89394947783a15bf60b.tar.gz gcc-413de8e5c791fbeddf93b89394947783a15bf60b.tar.bz2 |
dwarf2out.c: For DWARF 4+, output DW_AT_high_pc as constant offset.
* dwarf2out.h (enum dw_val_class): Add dw_val_class_high_pc.
* dwarf2out.c (dw_val_equal_p): Handle dw_val_class_high_pc.
(add_AT_low_high_pc): New function.
(AT_lbl): Handle dw_val_class_high_pc.
(print_die): Likewise.
(attr_checksum): Likewise.
(attr_checksum_ordered): Likewise.
(same_dw_val_p): Likewise.
(size_of_die): Likewise.
(value_format): Likewise.
(output_die): Likewise.
(gen_subprogram_die): Use add_AT_low_high_pc.
(add_high_low_attributes): Likewise.
(dwarf2out_finish): Likewise.
From-SVN: r190543
Diffstat (limited to 'gcc/dwarf2out.h')
-rw-r--r-- | gcc/dwarf2out.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h index a995291..853dce4 100644 --- a/gcc/dwarf2out.h +++ b/gcc/dwarf2out.h @@ -154,7 +154,8 @@ enum dw_val_class dw_val_class_file, dw_val_class_data8, dw_val_class_decl_ref, - dw_val_class_vms_delta + dw_val_class_vms_delta, + dw_val_class_high_pc }; /* Describe a floating point constant value, or a vector constant value. */ |