Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
10 days | gdb/dwarf: use gdb::unordered_set for cooked_index_storage::m_reader_hash | Simon Marchi | 1 | -5/+21 | |
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> | |||||
2025-03-07 | gdb/dwarf: move cooked_index_storage to cooked-index-storage.{h,c} | Simon Marchi | 1 | -0/+115 | |
cooked_index_storage is currently declared in `cooked-index.h` and implemented in `read.c`. Move all that to new `cooked-index-storage.{h,c}` files. Change-Id: I2a07eb446d8a07b15c5664dfe01e3a820cdd45be Approved-By: Tom Tromey <tom@tromey.com> |