* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
@ 2014-05-29 20:37 ` dje at google dot com
2014-05-30 2:26 ` dje at google dot com
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dje at google dot com @ 2014-05-29 20:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |performance
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
2014-05-29 20:37 ` [Bug symtab/16998] " dje at google dot com
@ 2014-05-30 2:26 ` dje at google dot com
2023-02-11 17:04 ` tromey at sourceware dot org
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: dje at google dot com @ 2014-05-30 2:26 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
--- Comment #1 from dje at google dot com ---
I haven't looked into the details, but I wanted to write this down while it's
on my mind. Iterating over symtabs hurts the non - .gdb_index (psymtabs) case
too.
While we're slurping in psyms, can we build enough of a .gdb_index work-alike
so that both the .gdb_index and psymtab cases can still use the same basic
algorithm for symbol lookup (look in index for list of symtabs to search in).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
2014-05-29 20:37 ` [Bug symtab/16998] " dje at google dot com
2014-05-30 2:26 ` dje at google dot com
@ 2023-02-11 17:04 ` tromey at sourceware dot org
2023-09-18 8:06 ` tromey at sourceware dot org
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2023-02-11 17:04 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
> But .gdb_index knows exactly which symtab(s) to look in.
...
> So why not just always use .gdb_index for GLOBAL_BLOCK lookups?
It makes sense to me.
Basically we'd want to extend the "quick" functionality
to some symtab-level operations as well, or maybe just
change the lookup code and ensure that the quick methods
also know to iterate over already-expanded symtabs.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (2 preceding siblings ...)
2023-02-11 17:04 ` tromey at sourceware dot org
@ 2023-09-18 8:06 ` tromey at sourceware dot org
2024-12-19 16:05 ` tromey at sourceware dot org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2023-09-18 8:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
One subtlety here is that now that we have readnow_functions,
there is a situation where there really is no index.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (3 preceding siblings ...)
2023-09-18 8:06 ` tromey at sourceware dot org
@ 2024-12-19 16:05 ` tromey at sourceware dot org
2024-12-19 16:12 ` tromey at sourceware dot org
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2024-12-19 16:05 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I have patches for this but they have uncovered some other bugs
that must be fixed first.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (4 preceding siblings ...)
2024-12-19 16:05 ` tromey at sourceware dot org
@ 2024-12-19 16:12 ` tromey at sourceware dot org
2025-01-02 20:36 ` tromey at sourceware dot org
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2024-12-19 16:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32482
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32482
[Bug 32482] DWARF index doesn't follow strcmp_iw
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (5 preceding siblings ...)
2024-12-19 16:12 ` tromey at sourceware dot org
@ 2025-01-02 20:36 ` tromey at sourceware dot org
2025-01-02 20:38 ` tromey at sourceware dot org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-02 20:36 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32510
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32510
[Bug 32510] Inconsistent treatment of template parameters in symbol lookup
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (6 preceding siblings ...)
2025-01-02 20:36 ` tromey at sourceware dot org
@ 2025-01-02 20:38 ` tromey at sourceware dot org
2025-01-03 12:38 ` sam at gentoo dot org
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-02 20:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32511
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32511
[Bug 32511] Ada import symbols not created by DWARF indexer
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (7 preceding siblings ...)
2025-01-02 20:38 ` tromey at sourceware dot org
@ 2025-01-03 12:38 ` sam at gentoo dot org
2025-01-03 13:48 ` sam at gentoo dot org
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: sam at gentoo dot org @ 2025-01-03 12:38 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=16994
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (8 preceding siblings ...)
2025-01-03 12:38 ` sam at gentoo dot org
@ 2025-01-03 13:48 ` sam at gentoo dot org
2025-01-05 18:28 ` tromey at sourceware dot org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: sam at gentoo dot org @ 2025-01-03 13:48 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (9 preceding siblings ...)
2025-01-03 13:48 ` sam at gentoo dot org
@ 2025-01-05 18:28 ` tromey at sourceware dot org
2025-01-05 18:43 ` tromey at sourceware dot org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-05 18:28 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
The new indexer doesn't create an entry for "t::t"
(among other things) in the anon-struct.exp test.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (10 preceding siblings ...)
2025-01-05 18:28 ` tromey at sourceware dot org
@ 2025-01-05 18:43 ` tromey at sourceware dot org
2025-01-05 19:25 ` tromey at sourceware dot org
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-05 18:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32519
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32519
[Bug 32519] DWARF index doesn't have entries for anon-struct.exp
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (11 preceding siblings ...)
2025-01-05 18:43 ` tromey at sourceware dot org
@ 2025-01-05 19:25 ` tromey at sourceware dot org
2025-01-08 0:30 ` tromey at sourceware dot org
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-05 19:25 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |32520
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32520
[Bug 32520] Add maint command to check index integrity
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (12 preceding siblings ...)
2025-01-05 19:25 ` tromey at sourceware dot org
@ 2025-01-08 0:30 ` tromey at sourceware dot org
2025-01-20 16:46 ` tromey at sourceware dot org
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-08 0:30 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
--- Comment #6 from Tom Tromey <tromey at sourceware dot org> ---
One idea might be to land the initial patches and just not
the one that causes the "t::t" thing to be an issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (13 preceding siblings ...)
2025-01-08 0:30 ` tromey at sourceware dot org
@ 2025-01-20 16:46 ` tromey at sourceware dot org
2025-01-24 21:08 ` tromey at sourceware dot org
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-20 16:46 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |27930
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=27930
[Bug 27930] gdb index does not handle DWARF 5 type units
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (14 preceding siblings ...)
2025-01-20 16:46 ` tromey at sourceware dot org
@ 2025-01-24 21:08 ` tromey at sourceware dot org
2025-02-22 0:45 ` tromey at sourceware dot org
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-01-24 21:08 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Bug 16998 depends on bug 32482, which changed state.
Bug 32482 Summary: DWARF index doesn't follow strcmp_iw
https://sourceware.org/bugzilla/show_bug.cgi?id=32482
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (15 preceding siblings ...)
2025-01-24 21:08 ` tromey at sourceware dot org
@ 2025-02-22 0:45 ` tromey at sourceware dot org
2025-03-06 14:49 ` tromey at sourceware dot org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-02-22 0:45 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
--- Comment #7 from Tom Tromey <tromey at sourceware dot org> ---
I've been sending the independent bits of this series recently.
The main series itself is mostly done. It is down to
6 regressions when using cc-with-gdb-index. So hopefully
not too much longer.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (16 preceding siblings ...)
2025-02-22 0:45 ` tromey at sourceware dot org
@ 2025-03-06 14:49 ` tromey at sourceware dot org
2025-03-12 9:59 ` sam at gentoo dot org
2025-03-12 10:00 ` sam at gentoo dot org
19 siblings, 0 replies; 21+ messages in thread
From: tromey at sourceware dot org @ 2025-03-06 14:49 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Bug 16998 depends on bug 32510, which changed state.
Bug 32510 Summary: Inconsistent treatment of template parameters in symbol lookup
https://sourceware.org/bugzilla/show_bug.cgi?id=32510
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (17 preceding siblings ...)
2025-03-06 14:49 ` tromey at sourceware dot org
@ 2025-03-12 9:59 ` sam at gentoo dot org
2025-03-12 10:00 ` sam at gentoo dot org
19 siblings, 0 replies; 21+ messages in thread
From: sam at gentoo dot org @ 2025-03-12 9:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=25736
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug symtab/16998] perf improvements for searching GLOBAL_BLOCK
2014-05-29 19:49 [Bug symtab/16998] New: perf improvements for searching GLOBAL_BLOCK dje at google dot com
` (18 preceding siblings ...)
2025-03-12 9:59 ` sam at gentoo dot org
@ 2025-03-12 10:00 ` sam at gentoo dot org
19 siblings, 0 replies; 21+ messages in thread
From: sam at gentoo dot org @ 2025-03-12 10:00 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16998
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 21+ messages in thread