diff options
| author | Mehdi Amini <joker.eph@gmail.com> | 2022-01-08 01:40:24 +0000 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2022-01-08 02:26:41 +0000 |
| commit | 3e13c4c37c8c0379b15c509ca483503c649164ed (patch) | |
| tree | b4ebf617767c674f259e2323bfb39c4ef3a2723a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 493894931035fcf3b2cc3e5b682dd12382b69673 (diff) | |
Avoid creating a ThreadPool in MlirOptMain when `--mlir-disable-threading` option is set
a32300a changed it to create a ThreadPool eagerly so that it gets reused
across buffers, however it also made it so that we create a ThreadPool
early even if we're not gonna use it later because of the command line
option `--mlir-disable-threading` is provided.
Fix #53056
Reland 45adf608024 after build fixes
Differential Revision: https://reviews.llvm.org/D116848
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
