[all-commits] [llvm/llvm-project] 8120c9: Rename option -icf MODE to --icf=MODE

Greg McGary via All-commits all-commits at lists.llvm.org
Fri Jun 18 09:53:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8120c9e379c7cc1c91a6cecdc42760b3aa562f78
      https://github.com/llvm/llvm-project/commit/8120c9e379c7cc1c91a6cecdc42760b3aa562f78
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/icf-options.s
    M lld/test/MachO/icf-scale.s
    M lld/test/MachO/icf.s

  Log Message:
  -----------
  Rename option -icf MODE to --icf=MODE

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.

Differential Revision: https://reviews.llvm.org/D104548




More information about the All-commits mailing list