public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "dje at google dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/16994] performance issue looking up static symbols (e.g. int, int64 typedef). Date: Thu, 29 May 2014 23:32:00 -0000 [thread overview] Message-ID: <bug-16994-4717-rMDyK2lCdy@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-16994-4717@http.sourceware.org/bugzilla/> 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.
next prev parent reply other threads:[~2014-05-29 23:32 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-28 17:18 [Bug symtab/16994] New: " dje at google dot com 2014-05-29 20:37 ` [Bug symtab/16994] " dje at google dot com 2014-05-29 23:32 ` dje at google dot com [this message] 2014-12-07 19:20 ` xdje42 at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-16994-4717-rMDyK2lCdy@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).