Skip to content

Commit e385779

Browse files
committed
[lld-macho] Fix -bitcode_process_mode arg type
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. Differential Revision: https://reviews.llvm.org/D130606
1 parent b105f26 commit e385779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/Options.td

+1-1
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ def allow_simulator_linking_to_macosx_dylibs : Flag<["-"], "allow_simulator_link
11821182
HelpText<"This option is undocumented in ld64">,
11831183
Flags<[HelpHidden]>,
11841184
Group<grp_undocumented>;
1185-
def bitcode_process_mode : Flag<["-"], "bitcode_process_mode">,
1185+
def bitcode_process_mode : Separate<["-"], "bitcode_process_mode">,
11861186
HelpText<"This option is undocumented in ld64">,
11871187
Flags<[HelpHidden]>,
11881188
Group<grp_undocumented>;

0 commit comments

Comments
 (0)