libdw: Make __libdw_dieabbrev more robust on failure.
authorMark Wielaard <mark@klomp.org>
Tue, 12 Jun 2018 10:18:31 +0000 (12:18 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 16 Jun 2018 22:52:07 +0000 (00:52 +0200)
commit29a3395004643c4e412a47cec5de10f63c23f13c
treec4f602638416cabaf626f8d1905b7418d16cbc3a
parent6fbded3b73a1050e1efa410fc28a41fde29ed221
libdw: Make __libdw_dieabbrev more robust on failure.

Make sure to always set die->abbrev to DWARF_END_ABBREV on failure.
DWARF_END_ABBREV is also what the function reports on failure. And it
will prevent trying to lookup the abbrev ever again.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/libdwP.h