[Bug symtab/16994] performance issue looking up static symbols (e.g. int, int64 typedef).
dje at google dot com
sourceware-bugzilla@sourceware.org
Thu May 29 23:32:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=16994
--- Comment #1 from dje at google dot com ---
In the .gdb_index of the monster benchmark I'm using, there are 10K entries for
int64, and none for void.
Thus any time gdb iterates over symbol tables to look up void, it's a total
waste of time.
gdb should probably (still TBD) use .gdb_index for STATIC_BLOCK lookups in
addition to GLOBAL_BLOCK lookups (see pr 16998), before iterating over all
currently expanded symtabs. But I think the case of looking up "void" is a
good example of needing to look in the default set (provided by the arch) after
looking in the current CU for STATIC_BLOCK lookups.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list