]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: dwarf_getsrclines don't set end_sequence when there are no lines.
authorMark Wielaard <mjw@redhat.com>
Fri, 3 May 2013 09:28:49 +0000 (11:28 +0200)
committerMark Wielaard <mjw@redhat.com>
Sun, 5 May 2013 20:15:13 +0000 (22:15 +0200)
commit9affad3d2314de1bacbabae453a7261cc02feac4
tree7fef6e5b20e0fc12e3116a79685ab36184a7b1f5
parent904aec2c2f62b729a536c2259274fdd440b0d923
libdw: dwarf_getsrclines don't set end_sequence when there are no lines.

Some CUs might only have a file list, but no actual source lines in their
statement list. Only set end_sequence at the end of the source lines list
if there are actually lines.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdw/ChangeLog
libdw/dwarf_getsrclines.c
tests/ChangeLog
tests/Makefile.am
tests/run-get-lines.sh
tests/testfilenolines.bz2 [new file with mode: 0755]