Speed up the display of unwind tables by using a binary chop search to locate functio...
authorDmitry Antipov <dantipov@nvidia.com>
Tue, 24 Feb 2015 13:21:10 +0000 (13:21 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Feb 2015 13:21:10 +0000 (13:21 +0000)
commit948f632f5671aa16c239507652d92f23f7713703
treecc2885b5fd2b49bac8f9ccdb5c13d9c1765b611c
parentcb0728165e282be2ad9b121c8c1e9da98c9784e4
Speed up the display of unwind tables by using a binary chop search to locate function symbols.

* readelf.c (find_symbol_for_address): Use a binary search to
speed up symbol location.  Skip check for function symbol type.
(*_unw_aux_info): Add funtab and nfuns fields contains a sorted
list of function symbols.
(dump_ia64_unwind): Initialise the funtab and nfuns fields and
pass them to find_symbol_for_address.
(dump_hppa_unwind): Likewise.
(arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
(dump_arm_unwind): Initialise the funtab and nfuns fields.
binutils/ChangeLog
binutils/readelf.c
This page took 0.025674 seconds and 4 git commands to generate.