diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-17 23:16:25 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-18 15:45:09 -0400 |
commit | c08c2adbb03ecd4fa9338932f26143389bf1135e (patch) | |
tree | ab847b683e99dd103ae96c648435002e4f0f65c7 /sim/testsuite | |
parent | d87251a45bceebbc90eed3161adb8ce75e35f959 (diff) | |
download | binutils-c08c2adbb03ecd4fa9338932f26143389bf1135e.zip binutils-c08c2adbb03ecd4fa9338932f26143389bf1135e.tar.gz binutils-c08c2adbb03ecd4fa9338932f26143389bf1135e.tar.bz2 |
gdb/dwarf: remove type_unit_group
The type_unit_group is an indirection between a stmt_list_hash (possible
dwo_unit + line table section offset) and a type_unit_group_unshareable
that provides no real value. In dwarf2_per_objfile, we maintain a
stmt_list_hash -> type_unit_group mapping, and in dwarf2_per_objfile, we
maintain a type_unit_group_unshareable mapping. The type_unit_group
type is empty and only exists to have an identity and to be a link
between the two mappings.
This patch changes it so that we have a single stmt_list_hash ->
type_unit_group_unshareable mapping.
Regression tested on Debian 12 amd64 with a bunch of DWARF target
boards.
Change-Id: I9c5778ecb18963f353e9dd058e0f8152f7d8930c
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'sim/testsuite')
0 files changed, 0 insertions, 0 deletions