diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-11-04 13:27:36 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-11-25 22:07:03 -0500 |
commit | 33d2aa8cccf20d580feca64d6df44341ff2d445c (patch) | |
tree | 68e8b30826934494f93c255b4ee53a146bfbd3ce /gdb/python/py-signalevent.c | |
parent | 8f942ca8a5259e8dac4745df1b15b80467346a0d (diff) | |
download | binutils-33d2aa8cccf20d580feca64d6df44341ff2d445c.zip binutils-33d2aa8cccf20d580feca64d6df44341ff2d445c.tar.gz binutils-33d2aa8cccf20d580feca64d6df44341ff2d445c.tar.bz2 |
Convert compile-c-symbols.c to new hash table
This converts compile-c-symbols.c to use the new hash table.
I made it use a set of string_view instead of a set of `symbol *`, to
avoid calling `symbol::natural_name` over and over. This appears safe
to do, since I don't expect the storage behing the natural names to
change during the lifetime of the map.
Change-Id: Ie9f9334d4f03b9a8ae6886287f82cd435eee217c
Co-Authored-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-signalevent.c')
0 files changed, 0 insertions, 0 deletions