diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-03 10:15:30 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-26 14:02:58 -0700 |
commit | d55c9a68473d4378e484a870d3ca4222a68078ca (patch) | |
tree | 481619709ee6a4382df2f8b48d6d9835d942a31a /gdb/Makefile.in | |
parent | a0b57563b1317e0000a67a7bed4c1712403682f3 (diff) | |
download | gdb-d55c9a68473d4378e484a870d3ca4222a68078ca.zip gdb-d55c9a68473d4378e484a870d3ca4222a68078ca.tar.gz gdb-d55c9a68473d4378e484a870d3ca4222a68078ca.tar.bz2 |
Demangle minsyms in parallel
This patch introduces a simple parallel for_each and changes the
minimal symbol reader to use it when computing the demangled name for
a minimal symbol. This yields a speedup when reading minimal symbols.
2019-11-26 Christian Biesinger <cbiesinger@google.com>
Tom Tromey <tom@tromey.com>
* minsyms.c (minimal_symbol_reader::install): Use
parallel_for_each.
* gdbsupport/parallel-for.h: New file.
* Makefile.in (HFILES_NO_SRCDIR): Add gdbsupport/parallel-for.h.
Change-Id: I220341f70e94dd02df5dd424272c50a5afb64978
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b07b11e..58f5f93 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1491,6 +1491,7 @@ HFILES_NO_SRCDIR = \ gdbsupport/common-inferior.h \ gdbsupport/netstuff.h \ gdbsupport/host-defs.h \ + gdbsupport/parallel-for.h \ gdbsupport/pathstuff.h \ gdbsupport/print-utils.h \ gdbsupport/ptid.h \ |