History log of /external/elfutils/tests/getsrc_die.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ddbf23a4594b5a6f1b387b15d42312a203075d80 24-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Search for the last matching address with dwarf_getsrc_die.

In commit 7d9b5a dwfl_module_getsrc was changed so that it returns the last
line record <= addr, rather than returning immediately on a match. This
changes dwarf_getsrc_die to do the same. And it adds a new test that checks
this by comparing against the same results from eu-addr2line (which uses
dwfl_module_getsrc) using dwarf_addrdie and dwarf_getsrc_die instead.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/getsrc_die.c