Skip to content

Commit b628852

Browse files
committed
Add ld-path driver option
1 parent 5621ab3 commit b628852

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/swift/Option/Options.td

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,11 @@ def no_static_executable : Flag<["-"], "no-static-executable">,
890890

891891
def use_ld : Joined<["-"], "use-ld=">,
892892
Flags<[DoesNotAffectIncrementalBuild]>,
893-
HelpText<"Specifies the linker to be used">;
893+
HelpText<"Specifies the flavor of the linker to be used">;
894+
895+
def ld_path : Joined<["--"], "ld-path=">,
896+
Flags<[DoesNotAffectIncrementalBuild, ArgumentIsPath]>,
897+
HelpText<"Specifies the path to the linker to be used">;
894898

895899
def Xlinker : Separate<["-"], "Xlinker">,
896900
Flags<[DoesNotAffectIncrementalBuild]>,

0 commit comments

Comments
 (0)