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

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 08:04:37 PDT 2022


thakis updated this revision to Diff 452185.
thakis edited the summary of this revision.
thakis added a comment.

fix typo too


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

https://reviews.llvm.org/D131781

Files:
  lld/MachO/Options.td


Index: lld/MachO/Options.td
===================================================================
--- lld/MachO/Options.td
+++ lld/MachO/Options.td
@@ -77,11 +77,11 @@
     HelpText<"Start a grouping of objects that should be treated as if they were together in an archive">;
 def end_lib: Flag<["--"], "end-lib">,
     HelpText<"End a grouping of objects that should be treated as if they were together in an archive">;
-def no_warn_dylib_install_name: Joined<["--"], "no-warn-dylib-install-name">,
-    HelpText<"Do not warn on -install-name if -dylib is not passed (default)">,
+def no_warn_dylib_install_name: Flag<["--"], "no-warn-dylib-install-name">,
+    HelpText<"Do not warn on -install_name if -dylib is not passed (default)">,
     Group<grp_lld>;
-def warn_dylib_install_name: Joined<["--"], "warn-dylib-install-name">,
-    HelpText<"Warn on -install-name if -dylib is not passed">,
+def warn_dylib_install_name: Flag<["--"], "warn-dylib-install-name">,
+    HelpText<"Warn on -install_name if -dylib is not passed">,
     Group<grp_lld>;
 def call_graph_profile_sort: Flag<["--"], "call-graph-profile-sort">,
     HelpText<"Reorder sections with call graph profile (default)">,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131781.452185.patch
Type: text/x-patch
Size: 1191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220812/4e87e66d/attachment.bin>


More information about the llvm-commits mailing list