[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Error out on empty debug section
On Thu, Mar 07, 2019 at 08:05:11AM +0100, Tom de Vries wrote:
> Hi,
>
> When encountering an empty debug section, we run into the following assert:
> ...
> dwz: dwz.c:9901: read_dwarf: Assertion `data != NULL && data->d_buf != NULL' \
> failed.
> ...
>
> Error out instead:
> ...
> dwz: a.out: Found empty .debug_gdb_scripts section, not attempting dwz \
> compression
> ...
>
> OK for trunk?
>
> Thanks,
> - Tom
>
> Error out on empty debug section
>
> 2019-02-14 Tom de Vries <tdevries@suse.de>
>
> PR dwz/24173
> * dwz.c (read_dwarf): Change assert (data->d_buf != NULL) into an error.
Ok.
Jakub