Re: [PATCH] readelf: Add some support for locviews.

2018-03-05 Thread Mark Wielaard
On Thu, 2018-03-01 at 14:55 +0100, Mark Wielaard wrote: > This adds minimal support for locviews as output by GCC8. > It changes readelf to keep track of loclistptrs from DW_AT_GNU_locviews > and prints the locview pairs for those. Since there is no terminator > we have to keep track of where the n

[PATCH] readelf: Add some support for locviews.

2018-03-01 Thread Mark Wielaard
This adds minimal support for locviews as output by GCC8. It changes readelf to keep track of loclistptrs from DW_AT_GNU_locviews and prints the locview pairs for those. Since there is no terminator we have to keep track of where the next loclist entry starts. The --debug-dump=loc output looks as f