commit | 4ea28692e88cdc4ff5d80f486bfd9ba7a78b5cc7 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Tue Mar 18 09:48:51 2025 -0400 |
committer | Simon Marchi <simon.marchi@efficios.com> | Tue Mar 18 16:21:29 2025 -0400 |
tree | 5a786ea91d7ad9d09fa277d83998d79d3656101a | |
parent | c08c2adbb03ecd4fa9338932f26143389bf1135e [diff] |
gdb/dwarf: use gdb::unordered_set for cooked_index_storage::m_reader_hash Replace an htab with gdb::unordered_set. I think we could also use the dwarf2_per_cu pointer itself as the identity, basically have the functional equivalent of: gdb::unordered_map<dwarf2_per_cu *, cutu_reader_up> But I kept the existing behavior of using dwarf2_per_cu::index as the identity. Change-Id: Ief3df9a71ac26ca7c07a7b79ca0c26c9d031c11d Approved-By: Tom Tromey <tom@tromey.com>