On Thu, 2019-12-12 at 21:03 -0800, Omar Sandoval wrote: > Reading the kernel code, the main sections are indeed contiguous. So > this was entirely my bug. Sorry for the noise! > > On the bright side, patch 2 ("libdwfl: remove broken coalescing logic in > dwfl_report_segment") does seem like a legitimate bug.
It does indeed. How curious this code never worked as advertised. I agree that it is probably best to just document that IDENT should be NULL and is ignored. It comes with a testcase and removes various extra fields from Dwfl_Module. Applied to master. Thanks, Mark