Author: Nico Weber Date: 2020-12-30T20:57:25-05:00 New Revision: 8886be242de8af6531204e2586b023f03b56992a
URL: https://github.com/llvm/llvm-project/commit/8886be242de8af6531204e2586b023f03b56992a DIFF: https://github.com/llvm/llvm-project/commit/8886be242de8af6531204e2586b023f03b56992a.diff LOG: [lld/mac] Add -adhoc_codesign / -no_adhoc_codesign flags These are new in Xcode 12's ld64. lld never codesigns at the moment, so -no_adhoc_codesign doesn't even have to warn that it's not implemented. Added: Modified: lld/MachO/Options.td Removed: ################################################################################ diff --git a/lld/MachO/Options.td b/lld/MachO/Options.td index 8e88c74efc0e..6928cf209eb1 100644 --- a/lld/MachO/Options.td +++ b/lld/MachO/Options.td @@ -512,6 +512,13 @@ def grp_rare : OptionGroup<"rare">, HelpText<"RARELY USED">; def v : Flag<["-"], "v">, HelpText<"Print the linker version and search paths and exit">, Group<grp_rare>; +def adhoc_codesign : Flag<["-"], "adhoc_codesign">, + HelpText<"Write an ad-hocd code signature to the output file.">, + Flags<[HelpHidden]>, + Group<grp_rare>; +def no_adhoc_codesign : Flag<["-"], "no_adhoc_codesign">, + HelpText<"Do not write an ad-hocd code signature to the output file.">, + Group<grp_rare>; def version_details : Flag<["-"], "version_details">, HelpText<"Print the linker version in JSON form">, Flags<[HelpHidden]>, _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits