Re: [PATCH] readelf, libdw: Handle DWARF5 .debug_macro.

2018-05-15 Thread Mark Wielaard
On Fri, 2018-05-11 at 15:38 +0200, Mark Wielaard wrote: > Almost identical to GNU .debug_macro extension. Just accept and use > DW_AT_macros where we accept or use DW_AT_GNU_macros. And be a little > stricter in which FORMs we accept (this could have caused problems > with the GNU variant too). Dea

[PATCH] readelf, libdw: Handle DWARF5 .debug_macro.

2018-05-11 Thread Mark Wielaard
Almost identical to GNU .debug_macro extension. Just accept and use DW_AT_macros where we accept or use DW_AT_GNU_macros. And be a little stricter in which FORMs we accept (this could have caused problems with the GNU variant too). Deals with DW_FORM_strx[1234], but not yet with imported macros thr