diff options
| author | Mark Wielaard <[email protected]> | 2014-12-27 16:16:29 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-01-16 09:01:57 +0100 |
| commit | f8198f2322b93dea4efbcf491b073a89e8aab1bf (patch) | |
| tree | 8fd39b0f2f54649e0fe8398cb0ef891b3cf1e03d /tests/funcretval.c | |
| parent | b4b2de9f1f1fb694b77371a61f808a1641bbafea (diff) | |
libdwfl: dwfl_module_getsrc should never match end_sequence line.
The line with end_sequence set has an address outside the current line
sequence. An end_sequence line has no other useful information except
marking the address as out of range.
Two tests, addrscopes and funcscopes, depended on matching the end_sequence
line. But that was because they included the high_pc address in the scope.
However the high_pc attributes has as address the first location past the
range associated with a given DIE. Adjust the tests to use high_pc - 1 as
end of the scope.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/funcretval.c')
0 files changed, 0 insertions, 0 deletions
