Re: [PATCH] libdw: dwarf_get_units find split units from .dwo.

2018-05-19 Thread Mark Wielaard
On Wed, May 16, 2018 at 09:15:01PM +0200, Mark Wielaard wrote: > For a skeleton DIE dwarf_get_units should provide the split DIE as subdie. > This implements that by trying to find the (named) .dwo file and finding > the matching CU in it. The .dwo file is search relative to the current > DWARF or

[PATCH] libdw: dwarf_get_units find split units from .dwo.

2018-05-16 Thread Mark Wielaard
For a skeleton DIE dwarf_get_units should provide the split DIE as subdie. This implements that by trying to find the (named) .dwo file and finding the matching CU in it. The .dwo file is search relative to the current DWARF or using the comp_dir of the skeleton DIE. Also fixes a small issue with