This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Symbol Table Lookup


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]