diff options
author | Mark Wielaard <mark@klomp.org> | 2018-05-16 18:02:25 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2018-05-16 18:02:25 +0000 |
commit | c0134358c5a8a9a92b10d08f2c43f5876d9a0d07 (patch) | |
tree | 1a1021e1b9e198e408a7336b329da85bb3c0a850 /gcc/config.gcc | |
parent | b958e1c134344ea06aa53ba0ca0935363ed3a8e8 (diff) | |
download | gcc-c0134358c5a8a9a92b10d08f2c43f5876d9a0d07.zip gcc-c0134358c5a8a9a92b10d08f2c43f5876d9a0d07.tar.gz gcc-c0134358c5a8a9a92b10d08f2c43f5876d9a0d07.tar.bz2 |
DWARF: Emit DWARF5 forms for indirect addresses and string offsets.
We already emit DWARF5 attributes and tables for indirect addresses
and string offsets, but still use GNU forms. Add a new helper function
dwarf_FORM () for emitting the right form.
Currently we only use the uleb128 forms. But DWARF5 also allows
1, 2, 3 and 4 byte forms (DW_FORM_strx[1234] and DW_FORM_addrx[1234])
which might be more space efficient.
gcc/ChangeLog
* dwarf2out.c (dwarf_FORM): New function.
(set_indirect_string): Use dwarf_FORM.
(reset_indirect_string): Likewise.
(size_of_die): Likewise.
(value_format): Likewise.
(output_die): Likewise.
(add_skeleton_AT_string): Likewise.
(output_macinfo_op): Likewise.
(index_string): Likewise.
(output_index_string_offset): Likewise.
(output_index_string): Likewise.
From-SVN: r260297
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions