aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-11-03 14:50:18 +1030
committerAlan Modra <amodra@gmail.com>2021-11-03 15:43:23 +1030
commit359c74415c2b78bf2b2be3bd3e013d78f298350d (patch)
treecb7d3c792821f5529c44cced0e363ca1f8d7cf54 /sim
parent0a129eb19a773d930d60b084209570f663db2053 (diff)
downloadgdb-359c74415c2b78bf2b2be3bd3e013d78f298350d.zip
gdb-359c74415c2b78bf2b2be3bd3e013d78f298350d.tar.gz
gdb-359c74415c2b78bf2b2be3bd3e013d78f298350d.tar.bz2
asan: assert (addr_ranges) <= (start)
That assert would be more obvious if it were reported as "addr_ranges <= end_ranges". Fix that by using the obvious variable in the final loop. Stop the assertion by using a signed comparison: It's possible for the rounding up of the arange pointer to exceed the end of the block when the block size is fuzzed. * dwarf.c (display_debug_aranges): Use "end_ranges" in loop displaying ranges rather that "start". Simplify rounding up to 2*address_size boundary. Use signed comparison in loop.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions