[PATCH] D76885: [lld][ELF][WebAssembly] Replace --(no-)threads with --threads={all,1,2,...}

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 16:32:48 PDT 2020


sbc100 added inline comments.


================
Comment at: lld/wasm/Driver.cpp:387
+            ": expected 'all' or a positive integer, but got '" +
+            arg->getValue() + "'");
+    config->thinLTOJobs = v;
----------------
Just, FYI, if there is sufficient code shared with the ELF linker there we do have `Common/Args.h` as a place to share common arg processing code.    


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76885/new/

https://reviews.llvm.org/D76885





More information about the llvm-commits mailing list