]> git.ipfire.org Git - thirdparty/elfutils.git/commit
addr2line: Support -i, --inlines output option.
authorMark Wielaard <mjw@redhat.com>
Tue, 13 Aug 2013 09:40:21 +0000 (11:40 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 13 Aug 2013 10:15:22 +0000 (12:15 +0200)
commit4b9e639d314e1ba63dbf661eb1fd7df1a8ee7d4a
treea5babe86dda3e4c7ed09633874350cadb284b6e3
parentd0f8501761b15b35dc52eaf5709a638276270077
addr2line: Support -i, --inlines output option.

Show all source locations that caused inline expansion of subroutines
at the given address. This can easily be supported by using libdw
dwarf_getscopes_die which will give all nested inlined subroutines.
When -f, --functions is given also show the function names where the
subroutines were inlined.

The output matches that of binutils addr2line --inlines.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/addr2line.c
tests/ChangeLog
tests/Makefile.am
tests/run-addr2line-i-test.sh [new file with mode: 0755]
tests/testfile-inlines.bz2 [new file with mode: 0755]