]> sourceware.org Git - dwz.git/commit
Error out on empty debug section
authorTom de Vries <tdevries@suse.de>
Thu, 14 Feb 2019 12:22:15 +0000 (13:22 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 7 Mar 2019 07:42:10 +0000 (08:42 +0100)
commit8ad6dacfee1c765ebd00972e2395245e5ac52001
treebaeca9c49721cfb44f4d187932d0367dff87742f
parent17c78dbb12262410436e1c24691f31ef262e919f
Error out on empty debug section

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
...

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.
dwz.c
This page took 0.025204 seconds and 5 git commands to generate.