[PATCH] D130606: [lld-macho] Fix -bitcode_process_mode arg type

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 16:19:05 PDT 2022


keith created this revision.
Herald added projects: lld-macho, All.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is still undocumented and unsupported, but if someone passed it
before you would end up with a missing file error since this takes an
argument that wouldn't be handled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130606

Files:
  lld/MachO/Options.td


Index: lld/MachO/Options.td
===================================================================
--- lld/MachO/Options.td
+++ lld/MachO/Options.td
@@ -1182,7 +1182,7 @@
     HelpText<"This option is undocumented in ld64">,
     Flags<[HelpHidden]>,
     Group<grp_undocumented>;
-def bitcode_process_mode : Flag<["-"], "bitcode_process_mode">,
+def bitcode_process_mode : Separate<["-"], "bitcode_process_mode">,
     HelpText<"This option is undocumented in ld64">,
     Flags<[HelpHidden]>,
     Group<grp_undocumented>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130606.447873.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220726/d4107e00/attachment.bin>


More information about the llvm-commits mailing list