Re: [PATCH] libdw: dwarf_aggregate_size should not don't peel the given DIE.

2017-12-15 Thread Mark Wielaard
On Tue, 2017-12-12 at 10:51 +0100, Mark Wielaard wrote: > Reserve memory for a new DIE first. The caller might not care, but it > isn't really nice to change the DIE the caller gave us. > > See also https://sourceware.org/bugzilla/show_bug.cgi?id=22546#c5 Pushed to master.

[PATCH] libdw: dwarf_aggregate_size should not don't peel the given DIE.

2017-12-12 Thread Mark Wielaard
Reserve memory for a new DIE first. The caller might not care, but it isn't really nice to change the DIE the caller gave us. See also https://sourceware.org/bugzilla/show_bug.cgi?id=22546#c5 Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 5 + libdw/dwarf_aggregate_size.c |