[Bug other/69050] libbacktrace: bsearch over unsorted array in unit_addrs_search

2015-12-26 Thread tetra2005 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69050 Yuri Gribov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/69050] libbacktrace: bsearch over unsorted array in unit_addrs_search

2015-12-25 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69050 --- Comment #1 from Ian Lance Taylor --- The algorithms aren't unrelated. unit_addrs_compare sorts by low then high then lineoff. unit_addrs_search returns any entry that includes the PC for which we are searching, where it includes the PC if i