]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwarflint: Fix "die chain not terminated by a null entry" for CU DIE
authorPetr Machata <pmachata@redhat.com>
Thu, 10 Mar 2011 15:03:18 +0000 (16:03 +0100)
committerPetr Machata <pmachata@redhat.com>
Thu, 10 Mar 2011 15:03:18 +0000 (16:03 +0100)
commitc1dfae6e870eec0bf83aa5edc0343d2d72f0585c
tree314b07fdac651c6b1e5bbe07d56ee25869ab69ea
parentfef55ed3b49c1d1b632685e4079ca7caac759dc9
dwarflint: Fix "die chain not terminated by a null entry" for CU DIE

- CU DIE is not part of DIE chain, it's a singleton (with optional null
  entries following it as padding)
- consequently, don't emit this message for CU DIE, and change it to full
  error for all other cases
dwarflint/check_debug_info.cc
dwarflint/tests/run-aranges_terminate_early.sh
dwarflint/tests/run-bad.sh
dwarflint/tests/run-check_debug_info_refs.sh