]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: rename cooked_index::m_vector to m_shards
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Feb 2025 16:54:58 +0000 (11:54 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 11 Feb 2025 15:10:31 +0000 (10:10 -0500)
commit8e745eac7db3d7a8989d88d36f8823fcc77d1a1b
tree9d39136d65b246c1ad4befda5c86ca4b165ae9b6
parent6c6492e7d34cf563a840d26d44b67e41763dcaa4
gdb/dwarf: rename cooked_index::m_vector to m_shards

I think that is clearer and helps readability.

Rename a few iteration variables from "index" or "idx" to "shard".  In
my mental model, the "index" is the whole thing, so it's confusing to
use that word when referring to shards.

Change-Id: I208cb839e873c514d1f8eae250d4a16f31016148
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/cooked-index.c
gdb/dwarf2/cooked-index.h