diff options
author | Tom Tromey <tromey@adacore.com> | 2019-08-15 07:33:20 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-08-19 08:46:21 -0600 |
commit | 3eb185c97d8170b3f3a2b5edab4fbbd56f53f6f7 (patch) | |
tree | 3d8534031d90c39c7fbae258959d25d3caf8288a /configure.ac | |
parent | d292364e95fc9c8230b678d9026f285850074c02 (diff) | |
download | gdb-3eb185c97d8170b3f3a2b5edab4fbbd56f53f6f7.zip gdb-3eb185c97d8170b3f3a2b5edab4fbbd56f53f6f7.tar.gz gdb-3eb185c97d8170b3f3a2b5edab4fbbd56f53f6f7.tar.bz2 |
Fix N^2 behavior in _bfd_dwarf2_find_symbol_bias
A customer reported a case where addr2line was very slow. We tracked
this down to some N^2 behavior in _bfd_dwarf2_find_symbol_bias in the
unusual case where no function can be found.
This patch fixes the bug, and reduces the runtime for a particular
request from 127 seconds to 1 second.
bfd/ChangeLog
2019-08-19 Tom Tromey <tromey@adacore.com>
* dwarf2.c (_bfd_dwarf2_find_symbol_bias): Create hash table
holding symbols.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions