public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Make line searching more predictable
@ 2014-12-12  1:23 Josh Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Stone @ 2014-12-12  1:23 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/3] Make line searching more predictable
@ 2014-12-13 21:38 Josh Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Stone @ 2014-12-13 21:38 UTC (permalink / raw)
  To: elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-13 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12  1:23 [PATCH 0/3] Make line searching more predictable Josh Stone
2014-12-13 21:38 Josh Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).