Improve the speed of scanning PE binaries for line number information.
authorNick Clifton <nickc@redhat.com>
Wed, 29 Mar 2017 11:27:44 +0000 (12:27 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 29 Mar 2017 11:27:44 +0000 (12:27 +0100)
commite643cb45bf85fa5c8c49a89ff177de246af4212e
tree7502fe7dfb9df55c6101f35cd641c008b9ec4510
parent7cc0cd2903612a0730de6ba00181b9016e77ea3d
Improve the speed of scanning PE binaries for line number information.

PR binutils/18025
* coff-bfd.h (struct coff_section_data): Add new fields:
saved_bias and bias.
* coffgen.c (coff_find_nearest_line_with_names): Cache the bias
computed for PE binaries.
* dwarf2.c (scan_unit_for_symbols): Only warn once about each
missing abbrev.
bfd/ChangeLog
bfd/coff-bfd.h
bfd/coffgen.c
bfd/dwarf2.c