[llvm] [BOLT][DWARF][NFC] Add parallelization for processing of DWO debug information (PR #100282)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 11:12:17 PDT 2024


================
@@ -102,12 +102,15 @@ inline unsigned estimateTotalCost(const BinaryContext &BC,
 
 } // namespace
 
-ThreadPoolInterface &getThreadPool() {
+ThreadPoolInterface &getThreadPool(const unsigned int ThreadsCount) {
----------------
ayermolo wrote:

just unsigned is fine.
For example:
heavyweight_hardware_concurrency(unsigned ThreadCount = 0)

https://github.com/llvm/llvm-project/pull/100282


More information about the llvm-commits mailing list