This is the mail archive of the
mailing list for the elfutils project.
[PATCH 0/2] Tweak addr2line function names
- From: Josh Stone <jistone at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 10 Dec 2014 11:41:03 -0800
- Subject: [PATCH 0/2] Tweak addr2line function names
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(-)