summaryrefslogtreecommitdiffstats
path: root/tests/vdsosyms.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-12-24 13:17:23 +0100
committerMark Wielaard <[email protected]>2015-01-16 09:04:43 +0100
commitddbf23a4594b5a6f1b387b15d42312a203075d80 (patch)
tree7418dd4df029b0cb2d5882f6235da5d642630638 /tests/vdsosyms.c
parentf8198f2322b93dea4efbcf491b073a89e8aab1bf (diff)
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 <[email protected]>
Diffstat (limited to 'tests/vdsosyms.c')
0 files changed, 0 insertions, 0 deletions