This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH 0/3] Make line searching more predictable
- From: Josh Stone <jistone at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 11 Dec 2014 17:23:34 -0800
- Subject: [PATCH 0/3] Make line searching more predictable
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(-)