]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Try converting ad-hoc msymbol hash tables to STL containers users/cbiesinger/stl_minsyms_hash
authorChristian Biesinger <cbiesinger@google.com>
Thu, 26 Sep 2019 19:45:47 +0000 (14:45 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 26 Sep 2019 19:46:16 +0000 (14:46 -0500)
commitf55c45b19bbfa2ab3a9d0ff703e4ad589e5fe4df
tree2de7e76fb1819a51b3f0cee972f565e579c09368
parentececd218c5254902db3301d700546f6702112c85
Try converting ad-hoc msymbol hash tables to STL containers

I went with multimap (also tried unordered_multimap) to keep
the behavior where we have a special hash key and want
to iterate over everything with that hash using specialized
compare functions.

Unfortunately this is a 10% regression.
real 0m56.538s
user 0m34.304s
sys 0m22.380s

real 0m51.655s
user 0m32.194s
sys 0m19.528s
gdb/minsyms.c
gdb/objfiles.h
gdb/symtab.h