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:18:19 +0000 |
| commit | 45adf608024655d3594993d041af9602da41780f (patch) | |
| tree | ce0cb9501099a455cfa8526d60a74c68a0a1d1c7 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | fb1582f6c54422995c6fb61ba4c55126b357f64e (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
Differential Revision: https://reviews.llvm.org/D116848
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
