]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Reduce O(n2) performance overhead when parsing DWARF unit information.
authorSteiner H Gunderson <steinar+sourceware@gunderson.no>
Mon, 21 Mar 2022 14:29:12 +0000 (14:29 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Mar 2022 14:29:12 +0000 (14:29 +0000)
commit30cbd32aec30b4bc13427bbd87c4c63c739d4578
tree8dbe289e2e45bc6ecf2f0ed476f847dea656d34f
parent46fb6d5aa27d7129f472729a4f7ab8aa103aa674
Reduce O(n2) performance overhead when parsing DWARF unit information.

PR 28978
* dwarf2.c (scan_unit_for_symbols): When performing second pass,
check to see if the function or variable being processed is the
same as the previous one.
bfd/ChangeLog
bfd/dwarf2.c