addr2line: skip CUs lacking debug info instead of bailing out
commit10b8b85018a68155b9aab67a85779ba4d1cfcdd8
authoremaste <emaste@FreeBSD.org>
Tue, 22 Sep 2015 16:51:40 +0000 (22 16:51 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 22 Sep 2015 16:51:40 +0000 (22 16:51 +0000)
treeaa6c6592bcc283146c0849e2d3ddbaf8f46afe24
parente6d5be3edcfce6f6412bb26166f24336dd3f1e79
addr2line: skip CUs lacking debug info instead of bailing out

Some binaries (such as the FreeBSD kernel) contain a mixture of CUs
with and without debug information. Previously translate() exited upon
encountering a CU without debug information. Instead, just move on to
the next CU.

Reported by: royger
Reviewed by: royger
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3712
contrib/elftoolchain/addr2line/addr2line.c