This is the mail archive of the gdb-patches@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]

Re: [RFA] massively speed up "info var foo" on large programs


On Thu, May 24, 2012 at 10:58 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> I'm not entirely sure this patch is correct, but it feels correct (*1),
> and is a massive win.
> "info var Task" in one large program goes from 350 seconds to 28 seconds.
>
> [...]
>
> 2012-05-23 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* symtab.c (lookup_msymbol_in_objfile): New function.
> ? ? ? ?(search_symbols): Call it.

Hmmm.
One thing that occurs to me is separate debug objfiles.
lookup_msymbol_in_objfile should probably search them.


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