[PATCH] D45172: [dsymutil] Apply recursion workaround for threading

Frederic Riss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 12:56:37 PDT 2018


friss added inline comments.


================
Comment at: llvm/tools/dsymutil/DwarfLinker.cpp:4304
 
-  ThreadPool pool(2);
+  ThreadPool pool(Options.Threads);
 
----------------
There will never be more than 2 threads running from that pool, right? Why not leave a hardcoded '2' here?


Repository:
  rL LLVM

https://reviews.llvm.org/D45172





More information about the llvm-commits mailing list