[PATCH] D104548: Rename option -icf MODE to --icf=MODE

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 09:42:19 PDT 2021


gkm created this revision.
gkm added a reviewer: lld-macho.
Herald added a subscriber: dang.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
gkm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The `icf` command-line option is not present in ld64, so it should use the LLD option syntax, which begins with double dashes and separates primary option from any suboption with the equal sign.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104548

Files:
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/test/MachO/icf-options.s
  lld/test/MachO/icf-scale.s
  lld/test/MachO/icf.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104548.353033.patch
Type: text/x-patch
Size: 5554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210618/4d715e06/attachment.bin>


More information about the llvm-commits mailing list