Re: [PATCH] libdw: Skip zero entries in aranges

2023-10-09 Thread Mark Wielaard
Hi, On Fri, 2023-10-06 at 14:03 +0200, Mark Wielaard wrote: > An address/length entry of two zeros is supposed to mark the end of a > table. But in some cases a producer might leave zero entries in the > table (for example when using gcc -ffunction-sections -gc-sections). > > Since we know the le

[PATCH] libdw: Skip zero entries in aranges

2023-10-06 Thread Mark Wielaard
An address/length entry of two zeros is supposed to mark the end of a table. But in some cases a producer might leave zero entries in the table (for example when using gcc -ffunction-sections -gc-sections). Since we know the lenght of the table we can just skip such entries and continue to the end