[lld] r221585 - [Gnu] Add options that are ignored

Shankar Easwaran shankare at codeaurora.org
Mon Nov 10 06:54:50 PST 2014


Author: shankare
Date: Mon Nov 10 08:54:49 2014
New Revision: 221585

URL: http://llvm.org/viewvc/llvm-project?rev=221585&view=rev
Log:
[Gnu] Add options that are ignored

Add options that are ignored and exists just for compatibility reasons.

Modified:
    lld/trunk/lib/Driver/GnuLdOptions.td

Modified: lld/trunk/lib/Driver/GnuLdOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdOptions.td?rev=221585&r1=221584&r2=221585&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdOptions.td (original)
+++ lld/trunk/lib/Driver/GnuLdOptions.td Mon Nov 10 08:54:49 2014
@@ -274,6 +274,21 @@ def alias_output_filetype: Joined<["--"]
       Alias<output_filetype>;
 
 //===----------------------------------------------------------------------===//
+/// Ignored options
+//===----------------------------------------------------------------------===//
+def grp_ignored: OptionGroup<"ignored">,
+     HelpText<"GNU Options ignored for Compatibility ">;
+def dashg : Flag<["-"], "g">,
+     HelpText<"Ignored.">,
+     Group<grp_ignored>;
+def Qy : Flag<["-"], "Qy">,
+     HelpText<"Ignored for SVR4 Compatibility">,
+     Group<grp_ignored>;
+def qmagic : Flag<["-"], "qmagic">,
+     HelpText<"Ignored for Linux Compatibility">,
+     Group<grp_ignored>;
+
+//===----------------------------------------------------------------------===//
 /// Help
 //===----------------------------------------------------------------------===//
 def help : Flag<["--"], "help">,





More information about the llvm-commits mailing list