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/python/python.c | |
parent | a0b57563b1317e0000a67a7bed4c1712403682f3 (diff) | |
download | binutils-d55c9a68473d4378e484a870d3ca4222a68078ca.zip binutils-d55c9a68473d4378e484a870d3ca4222a68078ca.tar.gz binutils-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/python/python.c')
0 files changed, 0 insertions, 0 deletions