[PATCH] Recognize new DWARF5 attribute forms.

Mark Wielaard mark@klomp.org
Wed Feb 21 16:17:00 GMT 2018


On Thu, 2018-02-08 at 17:06 +0100, Mark Wielaard wrote:
> This just makes sure we know how the new forms are encoded.
> It doesn't yet handle them in the dwarf_form* functions.
> But it does make it possible to skip them when reading DWARF5.
> 
> DW_FORM_implicit_const has zero size (the value is in the abbrev,
> not in the info). DW_FORM_addrx[1234], DW_FORM_strx[1234],
> DW_FORM_ref_sup[48] and DW_FORM_data16 have constant size.
> DW_FORM_strp_sup and DW_FORM_line_strp are offset size.
> DW_FORM_addrx, DW_FORM_strx, DW_FORM_loclistx and DW_FORM_rnglistx
> encode a uleb128.

Pushed to master.



More information about the Elfutils-devel mailing list