Demangle minsyms in parallel
authorTom Tromey <tom@tromey.com>
Sun, 3 Mar 2019 17:15:30 +0000 (10:15 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 26 Nov 2019 21:02:58 +0000 (14:02 -0700)
commitd55c9a68473d4378e484a870d3ca4222a68078ca
tree481619709ee6a4382df2f8b48d6d9835d942a31a
parenta0b57563b1317e0000a67a7bed4c1712403682f3
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
gdb/ChangeLog
gdb/Makefile.in
gdb/gdbsupport/parallel-for.h [new file with mode: 0644]
gdb/minsyms.c
gdb/symtab.c
gdb/symtab.h
This page took 0.025843 seconds and 4 git commands to generate.