diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-17 23:16:24 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-18 15:45:09 -0400 |
commit | d87251a45bceebbc90eed3161adb8ce75e35f959 (patch) | |
tree | 68c0b13c1e76f79a8233767ccf0ad4fb045e6ef2 /sim/testsuite | |
parent | 545c11e607baeae49d61546ba317c2c460a9c3e7 (diff) | |
download | binutils-d87251a45bceebbc90eed3161adb8ce75e35f959.zip binutils-d87251a45bceebbc90eed3161adb8ce75e35f959.tar.gz binutils-d87251a45bceebbc90eed3161adb8ce75e35f959.tar.bz2 |
gdb/dwarf: use gdb::unordered_map for dwarf2_per_bfd::{quick_file_names_table,type_unit_groups}
Change these two hash tables to use gdb::unordered_map. I changed these
two at the same time because they both use the same key, a
stmt_list_hash. Unlike other previous patches that used a
gdb::unordered_set, use an unordered_map here because the key isn't
found in the element itself (well, it was before, because of how htab
works, but it didn't need to be).
You'll notice that the type_unit_group structure is empty. That
structure isn't really needed. It is removed in the following patch.
Regression tested on Debian 12 amd64 with a bunch of DWARF target
boards.
Change-Id: Iec2289958d0f755cab8198f5b72ecab48358ba11
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'sim/testsuite')
0 files changed, 0 insertions, 0 deletions