On Tue, 2018-05-08 at 16:49 +0200, Mark Wielaard wrote: > Some debug sections need information from the CU DIEs to properly > parse the data. Normally the .debug_info section is one of the first. > But some DWARF producers reorder the sections and put it after some > other debug sections. Make sure we first handle .debug_info if it > is needed by any other debug section.
Pushed to master. The observant reader noticed this patch also "handles" .dwo files/sections, while the general support for that isn't in yet. I'll post that patch soon. It is already present as WIP here: https://code.wildebeest.org/git/user/mjw/elfutils/log/?h=dwarf5 Cheers, Mark