[PATCH] D39541: [LLD] [MinGW] Ignore the -s parameter

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 03:16:33 PDT 2017


mstorsjo created this revision.
Herald added a subscriber: aprantl.

Currently this option (stripping debug sections from the output) wouldn't have any effect in any case, as lld-link doesn't include dwarf debug sections into the output in the first place.


https://reviews.llvm.org/D39541

Files:
  MinGW/Options.td


Index: MinGW/Options.td
===================================================================
--- MinGW/Options.td
+++ MinGW/Options.td
@@ -41,6 +41,7 @@
 def full_shutdown: Flag<["--"], "full-shutdown">;
 def major_image_version: S<"major-image-version">;
 def minor_image_version: S<"minor-image-version">;
+def s: Flag<["-"], "s">;
 def sysroot: J<"sysroot">, HelpText<"Sysroot">;
 def v: Flag<["-"], "v">, HelpText<"Display the version number">;
 def version: F<"version">, HelpText<"Display the version number and exit">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39541.121267.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171102/e576bbd7/attachment.bin>


More information about the llvm-commits mailing list