diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-30 16:47:37 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-11-27 15:38:22 -0600 |
commit | f29d7f6b83f60ca8dd64ec89ea803f79324ac12f (patch) | |
tree | 0327aeb93cbae0184589a04016d2c923d6e866b2 /Makefile.def | |
parent | e76b224615f88255a3fd20d613983dde6cc240b3 (diff) | |
download | gdb-f29d7f6b83f60ca8dd64ec89ea803f79324ac12f.zip gdb-f29d7f6b83f60ca8dd64ec89ea803f79324ac12f.tar.gz gdb-f29d7f6b83f60ca8dd64ec89ea803f79324ac12f.tar.bz2 |
Compute msymbol hash codes in parallel
This is for the msymbol_hash and msymbol_demangled_hash hashtables
in objfile_per_bfd_storage. This basically computes those hash
codes together with the demangled symbol name in the background,
before it inserts the symbols in the hash table.
gdb/ChangeLog:
2019-11-27 Christian Biesinger <cbiesinger@google.com>
* minsyms.c (add_minsym_to_hash_table): Use a previously computed
hash code if possible.
(add_minsym_to_demangled_hash_table): Likewise.
(minimal_symbol_reader::install): Compute the hash codes for msymbol
on the background thread.
* symtab.h (struct minimal_symbol) <hash_value, demangled_hash_value>:
Add these fields.
Change-Id: Ifaa3346e9998f05743bff9e2eaad3f83b954d071
Diffstat (limited to 'Makefile.def')
0 files changed, 0 insertions, 0 deletions