]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: dwarf_getsrclines mark highest address as end_sequence.
authorMark Wielaard <mjw@redhat.com>
Mon, 25 Mar 2013 16:07:21 +0000 (17:07 +0100)
committerMark Wielaard <mjw@redhat.com>
Tue, 26 Mar 2013 09:07:32 +0000 (10:07 +0100)
commit60ef9ab76eecfa175bc0bea4ab6005a947987781
tree8c4f0e53a8f8ba83c002bed2b94180e4de43614f
parenta8c7f05cfd03a58821c3da68f3f577c882258674
libdw: dwarf_getsrclines mark highest address as end_sequence.

Make sure the highest address for the CU is marked as end_sequence.
This is required by the DWARF spec, but some compilers forget and
dwfl_module_getsrc depends on it.  We could reject it as bad DWARF
but the DWARF .debug_lines spec is much stricter than what compilers
seem to output in practice.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdw/ChangeLog
libdw/dwarf_getsrclines.c