[Bug default/24726] [dwz] Support DWARF5

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Feb 8 14:24:44 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=24726

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
The normal DWARF5 as generated by GCC is supported now.

Some additional improvements to support more variants:

- Handle DW_UT_type (in .debug_info variant of DWARF4 .debug_types)

- Handle DW_FORM_strx[1234]
  (and .debug_str_offsets, DW_AT_str_offsets_base)
- Handle DW_FORM_addrx[1234]
  (and .debug_addr section, DW_OP_addrx, DW_OP_constx, DW_AT_addr_base)
- Handle DW_FORM_rnglistx and DW_FORM_loclistsx
  (DW_AT_rnglists_base, DW_AT_loclists_base)

- Handle .debug_names (standardized variant of .gdb_index)

- Use DW_FORM_ref_sup[48] and DW_FORM_strp_sup instead of
  DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt
  (Probably behind --dwarf5 flag)
- Generate .debug_sup section (standardized variant of .gnu_debugaltlink)
  (Probably behind --dwarf5 flag)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Dwz mailing list