diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-15 09:51:44 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-15 09:51:44 +0000 |
commit | ffbd598f28fb339c8a208de75c5c6df86196b2d0 (patch) | |
tree | b1fa4a5a5e19172509214241f32cd3bd5e08242a /include | |
parent | 4d8caf18251a82c67d3cfe3583b7eb41223d3193 (diff) | |
download | gcc-ffbd598f28fb339c8a208de75c5c6df86196b2d0.tar.gz |
* dwarf2.def (DW_AT_string_length_bit_size,
DW_AT_string_length_byte_size): New attributes.
* dwarf2out.c (struct checksum_attributes): Add
at_string_length_bit_size and at_string_length_byte_size fields.
(collect_checksum_attributes): Handle DW_AT_string_length_bit_size
and DW_AT_string_length_byte_size.
(die_checksum_ordered): Handle at_string_length_bit_size and
at_string_length_byte_size.
(gen_array_type_die): For dwarf_version >= 5 emit
DW_AT_string_length_byte_size instead of DW_AT_byte_size.
(adjust_string_types): For dwarf_version >= 5 remove
DW_AT_string_length_byte_size instead of DW_AT_byte_size.
(resolve_addr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 7 | ||||
-rw-r--r-- | include/dwarf2.def | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 5a3843bde1c..a37976855b5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,8 +1,13 @@ +2016-08-15 Jakub Jelinek <jakub@redhat.com> + + * dwarf2.def (DW_AT_string_length_bit_size, + DW_AT_string_length_byte_size): New attributes. + 2016-08-12 Alexandre Oliva <aoliva@redhat.com> PR debug/63240 * dwarf2.def (DW_AT_deleted, DW_AT_defaulted): New. - * dwarf2.h (enu dwarf_defaulted_attribute): New. + * dwarf2.h (enum dwarf_defaulted_attribute): New. 2016-07-29 Aldy Hernandez <aldyh@redhat.com> diff --git a/include/dwarf2.def b/include/dwarf2.def index 67b2a5bd39d..5241fe8615e 100644 --- a/include/dwarf2.def +++ b/include/dwarf2.def @@ -309,6 +309,8 @@ DW_AT (DW_AT_const_expr, 0x6c) DW_AT (DW_AT_enum_class, 0x6d) DW_AT (DW_AT_linkage_name, 0x6e) /* DWARF 5. */ +DW_AT (DW_AT_string_length_bit_size, 0x6f) +DW_AT (DW_AT_string_length_byte_size, 0x70) DW_AT (DW_AT_noreturn, 0x87) DW_AT (DW_AT_deleted, 0x8a) DW_AT (DW_AT_defaulted, 0x8b) |