Commit 23dfddb
committed
Fix symbol lookup failure on the lowest-address symbol.
The `for` statement that looped backwards from `addrtab.upper_bound()`
was accidentally checking for `it == addrtab.begin()` _after_
decrementing `it`, not before. So after stepping the iterator
backwards to point at the first symbol in the map, that symbol wasn't
actually considered eligible to be the answer.1 parent f2be8bf commit 23dfddb
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
0 commit comments