diff options
| author | Mark Wielaard <[email protected]> | 2018-05-24 15:20:25 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-05-24 15:20:25 +0200 |
| commit | c2d14cc492aa7fd28740d5789fede64ce81a063b (patch) | |
| tree | 8dc6ce6af3e6720848debfabb4cde5ad2e1361b4 /tests/run-all-dwarf-ranges.sh | |
| parent | 144b73c49acf3ed894e4635aedb9b0d1208ade2e (diff) | |
libdw: Initialize ranges_base, add invalid DWARF test and fix expected output.
We never initialized the CU ranges_base, which meant we didn't actually
calculate it correctly. This caused bad ranges on some DIEs. The expected
output in the testcase was wrong. We also crashed on invalid dwarf.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-all-dwarf-ranges.sh')
| -rwxr-xr-x | tests/run-all-dwarf-ranges.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/run-all-dwarf-ranges.sh b/tests/run-all-dwarf-ranges.sh index 0bd641b0..ba5528d2 100755 --- a/tests/run-all-dwarf-ranges.sh +++ b/tests/run-all-dwarf-ranges.sh @@ -37,11 +37,12 @@ die: world.c (11) 400500..400567 die: happy (1d) - 8009e0..8009ff - 8008e0..8008f7 + 40051c..400526 + 400530..400534 + 400535..40053f die: sad (1d) - 400530..400534 + 40051c..400526 400535..40053f EOF |
