This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/3] Make line searching more predictable


On 12/11/2014 05:23 PM, Josh Stone wrote:
> 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(-)
> 

Made Mark's else-simplification, and pushed all three.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]