[llvm] [BOLT][DWARF][NFC] Add parallelization for processing of DWO debug information (PR #100282)
Sayhaan Siddiqui via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 12:54:05 PDT 2024
================
@@ -102,12 +102,15 @@ inline unsigned estimateTotalCost(const BinaryContext &BC,
} // namespace
-ThreadPoolInterface &getThreadPool() {
+ThreadPoolInterface &getThreadPool(const int ThreadsCount) {
----------------
sayhaan wrote:
Wouldn't this be covered by the if statement? If it's less than 1 it just creates a SingleThreadExecutor. Unsigned would still allow for a ThreadCount that's 0 which also wouldn't work.
https://github.com/llvm/llvm-project/pull/100282
More information about the llvm-commits
mailing list