diff --git a/include/swift/Option/Options.td b/include/swift/Option/Options.td index 434028014213e..9e373211ba489 100644 --- a/include/swift/Option/Options.td +++ b/include/swift/Option/Options.td @@ -890,7 +890,11 @@ def no_static_executable : Flag<["-"], "no-static-executable">, def use_ld : Joined<["-"], "use-ld=">, Flags<[DoesNotAffectIncrementalBuild]>, - HelpText<"Specifies the linker to be used">; + HelpText<"Specifies the flavor of the linker to be used">; + +def ld_path : Joined<["--"], "ld-path=">, + Flags<[HelpHidden, DoesNotAffectIncrementalBuild, ArgumentIsPath]>, + HelpText<"Specifies the path to the linker to be used">; def Xlinker : Separate<["-"], "Xlinker">, Flags<[DoesNotAffectIncrementalBuild]>,