[Lldb-commits] [PATCH] D123226: [lldb] use one shared ThreadPool and task groups

Luboš Luňák via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 6 08:32:17 PDT 2022


llunak created this revision.
llunak added reviewers: clayborg, labath.
llunak added a project: LLDB.
Herald added subscribers: JDevlieghere, arphaman.
Herald added a project: All.
llunak requested review of this revision.
Herald added a subscriber: lldb-commits.

As a preparation for parallelizing loading of symbols (D122975 <https://reviews.llvm.org/D122975>), it is necessary to use just one thread pool to avoid using a thread pool from inside a task of another thread pool.

I don't know if it's acceptable to have a static like this. If it isn't, then I don't know where to put it (I don't know how to access e.g. Debugger from ManualDWARFIndex).

The ThreadPool groups change is D123225 <https://reviews.llvm.org/D123225> .


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123226

Files:
  lldb/include/lldb/Core/Debugger.h
  lldb/source/Core/Debugger.cpp
  lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123226.420884.patch
Type: text/x-patch
Size: 3903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220406/5df1aadc/attachment-0001.bin>


More information about the lldb-commits mailing list