This set changes dwarf_getsrclines into a stable sort, adjusts the binary search in dwfl_module_getsrc to pick the last match, and finally adds a test for earlier addr2line fixes.
--- libdw/ChangeLog | 7 ++++ libdw/dwarf_getsrclines.c | 52 +++++++++++++++++----------- libdwfl/ChangeLog | 5 +++ libdwfl/dwfl_module_getsrc.c | 51 ++++++++++++++------------- tests/ChangeLog | 8 +++++ tests/Makefile.am | 4 ++- tests/run-addr2line-i-lex-test.sh | 71 ++++++++++++++++++++++++++++++++++++++ tests/testfile-lex-inlines.bz2 | Bin 0 -> 2599 bytes 8 files changed, 152 insertions(+), 46 deletions(-)
