This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdw: Add new dwarf_cu_info function.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Thu, 24 May 2018 17:35:29 +0200
- Subject: Re: [PATCH] libdw: Add new dwarf_cu_info function.
- References: <20180520132143.7513-1-mark@klomp.org>
On Sun, 2018-05-20 at 15:21 +0200, Mark Wielaard wrote:
> This allows getting a (split) subdie lazily, only when needed.
> All arguments to dwarf_get_units are optional. When not given
> then unit DIE and sub DIE are not looked up. This new function
> allows them to be looked up when not immediately retrieved with
> dwarf_get_units, or for a Dwarf_CU gotten through some other way.
>
> Add a new testcase to make sure the results of calling dwarf_cu_info
> and dwarf_get_units are consistent.
Pushed to master.