diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-27 13:08:25 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-22 11:26:17 -0500 |
commit | 1a6ff1a96b302283d517b3cdeae7310adecbe859 (patch) | |
tree | 0865c6916b3f41de3c77f11505cef808501150cd /gdb/utils.c | |
parent | 7bb43059820c5febb4509b15202a93efde442bc6 (diff) | |
download | gdb-1a6ff1a96b302283d517b3cdeae7310adecbe859.zip gdb-1a6ff1a96b302283d517b3cdeae7310adecbe859.tar.gz gdb-1a6ff1a96b302283d517b3cdeae7310adecbe859.tar.bz2 |
Add a fast_hash function in common-utils
Also updates a caller in symtab.c. For now this just calls htab_hash_string
but the next patch will change it to xxhash, if available.
gdb/ChangeLog:
2019-10-22 Christian Biesinger <cbiesinger@google.com>
* utils.h (fast_hash): New function.
* symtab.c (hash_demangled_name_entry): Call new function
fast_hash.
Change-Id: I77cac0d9aa78fc65316a2af449f52edcae72dc9b
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions