public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/16237] New: cache "needs frame" for symbols
@ 2013-11-25 16:39 tromey at redhat dot com
  0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2013-11-25 16:39 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16237

            Bug ID: 16237
           Summary: cache "needs frame" for symbols
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at redhat dot com

Right now symbol_read_needs_frame will call into
the symbol computed ops each time it is called.
This will cause a walk of the DWARF expression for
each invocation.
However, whether a symbol needs a frame is a static
property of the symbol.  So, the result could be
cached in the struct symbol.
This might be a reasonable micro-optimization.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-25 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 16:39 [Bug symtab/16237] New: cache "needs frame" for symbols tromey at redhat dot com

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).