summaryrefslogtreecommitdiff
path: root/libdw/dwarf_whatform.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-06-12 12:18:31 +0200
committerMark Wielaard <mark@klomp.org>2018-06-17 00:52:07 +0200
commit29a3395004643c4e412a47cec5de10f63c23f13c (patch)
treec4f602638416cabaf626f8d1905b7418d16cbc3a /libdw/dwarf_whatform.c
parent6fbded3b73a1050e1efa410fc28a41fde29ed221 (diff)
downloadelfutils-29a3395004643c4e412a47cec5de10f63c23f13c.tar.gz
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>
Diffstat (limited to 'libdw/dwarf_whatform.c')
0 files changed, 0 insertions, 0 deletions