Fix compile error & incorrect push
authorChristian Biesinger <cbiesinger@google.com>
Tue, 22 Oct 2019 18:37:37 +0000 (13:37 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Tue, 22 Oct 2019 18:41:12 +0000 (13:41 -0500)
commit3a49427939764f53e196ae10013c72fcffb8c085
tree3fd19bc98d4e2d2b6b6cce5f182683c61d4f6d92
parentccb1ba62299edce72053dd567b9d384814e11885
Fix compile error & incorrect push

I accidentally pushed the wrong version of the patch for commit
7bb43059820c5febb4509b15202a93efde442bc6 (where the review
comments were not fixed), and I did a bad conflict resolution
for ccb1ba62299edce72053dd567b9d384814e11885 leading to a
compile error when libxxhash is available. This fixes both
issues.

gdb/ChangeLog:

2019-10-22  Christian Biesinger  <cbiesinger@google.com>

* symtab.c (struct demangled_name_entry): Add a constructor.
(free_demangled_name_entry): New function to call the destructor
for demangled_name_entry.
(create_demangled_names_hash): Pass free_demangled_name_entry to
htab_create_alloc.
(symbol_set_names): Call placement new for demangled_name_entry.
* utils.c: No longer include xxhash.h here, now that fast_hash
is inlined in the header.
* utils.h: Instead, include it here.

Change-Id: If776099d39a65a12733d42efcb859feca1b07a39
gdb/ChangeLog
gdb/symtab.c
gdb/utils.c
gdb/utils.h
This page took 0.027298 seconds and 4 git commands to generate.