public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Josh Stone <jistone@redhat.com>
To: elfutils-devel@lists.fedorahosted.org
Subject: [PATCH 0/2] Tweak addr2line function names
Date: Wed, 10 Dec 2014 11:41:03 -0800	[thread overview]
Message-ID: <1418240465-1752-1-git-send-email-jistone@redhat.com> (raw)

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

As previously discussed, these patches fix the function names for addr2line.
For addr2line -i, it now walks as many scopes as necessary to find the
containing function, instead of assuming it's the next scope.  Also, addr2line
now prefers linkage_name over the plain die name in all cases.

I haven't addressed the srcline sorting yet, but I intend to.

I had also mentioned some redundancy in the way -f prints inlines, compared to
similar info from -i, but I didn't realize that -S and -x are also involved
here.  I've decided to leave that alone for now.

---
 src/ChangeLog                 |  8 +++++++
 src/addr2line.c               | 55 +++++++++++++++++++++++++++----------------
 tests/ChangeLog               |  5 ++++
 tests/run-addr2line-i-test.sh |  4 +++-
 4 files changed, 51 insertions(+), 21 deletions(-)


             reply	other threads:[~2014-12-10 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 19:41 Josh Stone [this message]
2014-12-11 19:29 Josh Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418240465-1752-1-git-send-email-jistone@redhat.com \
    --to=jistone@redhat.com \
    --cc=elfutils-devel@lists.fedorahosted.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).