[PATCH 0/3] Make line searching more predictable

Josh Stone jistone at redhat.com
Fri Dec 12 01:23:34 UTC 2014


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(-)



More information about the elfutils-devel mailing list