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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 16:00:07 PDT 2020


MaskRay updated this revision to Diff 253241.
MaskRay retitled this revision from "[lld][ELF][WebAssembly] Replace --(no-)threads with --threads=N" to "[lld][ELF][WebAssembly] Replace --(no-)threads with --threads={all,1,2,...}".
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added subscribers: steven_wu, hiraditya.

Default to --threads=all
Default --thinlto-jobs= to --threads=
Disallow --threads=0 and --threads=-1


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76885

Files:
  lld/COFF/Driver.cpp
  lld/Common/Filesystem.cpp
  lld/Common/Threads.cpp
  lld/ELF/Driver.cpp
  lld/ELF/ICF.cpp
  lld/ELF/Options.td
  lld/ELF/SyntheticSections.cpp
  lld/docs/ld.lld.1
  lld/include/lld/Common/Threads.h
  lld/test/ELF/build-id.s
  lld/test/ELF/lto/thinlto.ll
  lld/test/ELF/threads.test
  lld/test/wasm/lto/thinlto.ll
  lld/test/wasm/threads.yaml
  lld/wasm/Driver.cpp
  lld/wasm/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76885.253241.patch
Type: text/x-patch
Size: 16251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/6d42b4bd/attachment.bin>


More information about the llvm-commits mailing list