gdbsupport: move fast_hash to gdbsupport/common-utils.h
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 20 Oct 2022 16:48:27 +0000 (12:48 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 5 Jan 2023 19:38:51 +0000 (14:38 -0500)
commit72127b193c970a61a36c940bf167c596ddc32eae
tree81e44a942d180d2596995406382c1a9a0e94a01e
parent8b35ed1febd786c7aec34bbd7080c73a7c91bfca
gdbsupport: move fast_hash to gdbsupport/common-utils.h

The following patch adds a hash type for gdb::string_view in gdbsupport,
which will use the fast_hash function.  Move the latter to gdbsupport.

Change-Id: Id74510e17801e775bd5ffa5f443713d79adf14ad
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/utils.h
gdbsupport/common-utils.h