diff options
author | Fangrui Song <i@maskray.me> | 2022-01-23 10:35:44 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-01-23 10:35:44 -0800 |
commit | 8e382ae91b97161930a128e56774d6e1242b6514 (patch) | |
tree | 27aefb38753b58123af1504fcbc45928a4e6d2e6 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 818cfb10c57487cd9c8b57d8136d9e42b31a50aa (diff) | |
download | llvm-8e382ae91b97161930a128e56774d6e1242b6514.zip llvm-8e382ae91b97161930a128e56774d6e1242b6514.tar.gz llvm-8e382ae91b97161930a128e56774d6e1242b6514.tar.bz2 |
[Support] Simplify parallelForEach{,N}
* Merge parallel_for_each into parallelForEach (this removes 1 `Fn(...)` call)
* Change parallelForEach to use parallelForEachN
* Move parallelForEachN into Parallel.cpp
My x86-64 `lld` executable is 100KiB smaller.
No noticeable difference in performance.
Reviewed By: lattner
Differential Revision: https://reviews.llvm.org/D117510
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions