From: Tom Tromey <tom@tromey.com>
To: Dmitry Neverov via Gdb <gdb@sourceware.org>
Cc: Tom Tromey <tom@tromey.com>,
Dmitry Neverov <dmitry.neverov@jetbrains.com>
Subject: Re: Index files are not used in the session where they were created
Date: Wed, 01 Nov 2023 11:51:03 -0600 [thread overview]
Message-ID: <87h6m5jraw.fsf@tromey.com> (raw)
In-Reply-To: <CAEY59_LRnM6+k3P1Niy+KxuEMxYDEhxYstXuDAVmieTVbAuv=g@mail.gmail.com> (Dmitry Neverov via Gdb's message of "Wed, 25 Oct 2023 17:59:51 +0200")
>>>>> "Dmitry" == Dmitry Neverov via Gdb <gdb@sourceware.org> writes:
Dmitry> Please ignore my previous message regarding an empty
Dmitry> qf_require_partial_symbols(). I think I was wrong and now understand a
Dmitry> bit better where the difference in time comes from.
Thank you for looking into this.
Dmitry> When index is used, the check for templates happens in
Dmitry> dw2_expand_symtabs_matching_symbol(). The name_matcher
Dmitry> (default_symbol_name_matcher) is called before deciding to expand the
Dmitry> symtab. So entries like 'wxObjectDataPtr<wxBitmapBundleImpl>' don't
Dmitry> cause expansion for lookup name wxObjectDataPtr.
Dmitry> I wonder if it is possible to check templates before symtab expansion in
Dmitry> the no-index case as well?
This sounds related to
https://sourceware.org/bugzilla/show_bug.cgi?id=31010
I think it would be good to have a separate bug for your case though.
I am not sure if it's possible to do this, but I think it would be worth
investigating.
Tom
next prev parent reply other threads:[~2023-11-01 17:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 8:01 Dmitry Neverov
2023-07-26 16:20 ` Tom Tromey
2023-08-01 6:42 ` Dmitry Neverov
2023-10-13 8:57 ` Dmitry Neverov
2023-10-25 15:59 ` Dmitry Neverov
2023-11-01 17:51 ` Tom Tromey [this message]
2023-11-06 10:41 ` Dmitry Neverov
2023-11-13 16:59 ` Dmitry Neverov
2023-11-15 10:18 ` Dmitry Neverov
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=87h6m5jraw.fsf@tromey.com \
--to=tom@tromey.com \
--cc=dmitry.neverov@jetbrains.com \
--cc=gdb@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: link
Be 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).