]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove cooked_index_worker::result_type
authorTom Tromey <tom@tromey.com>
Tue, 25 Mar 2025 13:17:38 +0000 (07:17 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 1 Apr 2025 13:30:10 +0000 (07:30 -0600)
commit2dc660bd2b23265574c8779a3aed5272c1829b5c
tree222d23e5e776fe36062024c5e9a91de4620444d8
parentd33f7cc36e7fb5f53452febb28cb3189d3290fb8
Remove cooked_index_worker::result_type

cooked_index_worker::result_type is an ad hoc tuple type used for
transferring data between phases of the indexer.  It's a bit unwieldy
and another patch I'm working on would be somewhat nicer without it.

This patch removes the type.  Now cooked_index_ephemeral objects are
transferred instead, which is handy because they already hold the
needed state.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/abbrev-table-cache.h
gdb/dwarf2/cooked-index-worker.c
gdb/dwarf2/cooked-index-worker.h
gdb/dwarf2/read-debug-names.c
gdb/dwarf2/read.c