[PATCH] D11737: Add -linker (and -linker=) alias for -fuse-ld=
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 17:50:26 PDT 2015
echristo added inline comments.
Comment at: include/clang/Driver/Options.td:1853
@@ -1853,1 +1852,3 @@
+def fuse_ld_EQ : Joined<["-"], "fuse-ld=">, HelpText<"Use linker <name>">, Group<f_Group>;
+def linker_EQ : Joined<["-"], "linker=">, Alias<fuse_ld_EQ>, MetaVarName<"<name>">;
> Any reason to have another alias for this at all? Does gcc understand this spelling? If not, could you limit this flag to PS4 targets? (I'm guessing you need it for PS4 targets for some reason.)
Any reason? (And I'm not sure how to limit it btw on target).
More information about the cfe-commits