[lld] [lld][MachO]Multi-threaded i/o. Twice as fast linking a large project. (PR #147134)

John Holdsworth via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 22:43:02 PDT 2025


================
@@ -396,6 +396,9 @@ def dead_strip : Flag<["-"], "dead_strip">,
 def interposable : Flag<["-"], "interposable">,
     HelpText<"Indirects access to all exported symbols in an image">,
     Group<grp_opts>;
+def read_threads : Joined<["--"], "read-threads=">,
+    HelpText<"Number of threads to use paging in files.">,
----------------
johnno1962 wrote:

Hi, thanks for your comments. I've changed the wording ever so slightly which might make it clearer. We can talk about this option later as I might raise a separate PR once the code has settled in to set the default to 20.

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


More information about the llvm-commits mailing list