This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Symbol Table Lookup
- From: "Sp3cial K" <ikiwibebe at hotmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 03 Aug 2005 17:03:21 -0400
- Subject: Symbol Table Lookup
- Bcc:
I'm trying to optimize the symbol lookup to speed up the process for a test.
The test need to be run over and over again, does anyone know a good way
to reduce the time spent in looking up symbols and symtabs?
The following functions takes too long to finish (especially
lookup_partial_symbol, which is referenced lots of times):
find_pc_sect_psymbol
lookup_transparent_type
lookup_partial_symbol
find_pc_sect_psymtab
lookup_block_symbol
The following functions also takes a long time:
msymbol_hash_iw
lbasename
lookup_symbol_aux_psymtabs
lookup_partial_symtab
lookup_symbol_aux_symtabs
Thanks!
~K