commit | ef431cd30b8a1a6b12a8783516fc95da88a9a636 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon Oct 31 23:17:06 2011 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Tue Nov 01 10:03:51 2011 +0100 |
tree | f60b6a0d80076984a777db5f109dd84502f31c52 | |
parent | 75ee33f4eee8570d3cf1abf778413276184eea18 [diff] |
Use index of first global symbol to speed up dwfl_module_addrsym search. Cache the index of the first global symbol in the module's symbol table, or -1 when unknown. All symbols with local binding come first in the symbol table before the global symbols. Use this information to speed up dwfl_module_addrsym search.