[all-commits] [llvm/llvm-project] b69650: [lld/mac] Stop accepting arbitrary suffixes on --(...

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Aug 12 12:27:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b696500b9ac061a3d778d61a807747de34c7ecc2
      https://github.com/llvm/llvm-project/commit/b696500b9ac061a3d778d61a807747de34c7ecc2
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M lld/MachO/Options.td

  Log Message:
  -----------
  [lld/mac] Stop accepting arbitrary suffixes on --(no-)warn-dylib-install-name

The flag accidentally used Joined<> instead of Flag<>.

Previously, `--warn-dylib-install-namefoobarbaz` would be accepted and
had the same effect as `-warn-dylib-install-name`. Now the flag only
works if no suffix is attached to it, as originally intended.

Also fix a typo in the flag's help text.

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




More information about the All-commits mailing list