[PATCH] D57304: [LLD] [MinGW] Ignore the --plugin option

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 27 12:22:15 PST 2019


mstorsjo created this revision.
mstorsjo added reviewers: ruiu, rnk, pcc.
Herald added subscribers: dexonsmith, mehdi_amini.

GCC can use LLD with -fuse-ld=lld for MinGW these days, but by default a --plugin option is passed to the linker (unless -fno-lto is passed to the GCC driver).


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D57304

Files:
  MinGW/Options.td


Index: MinGW/Options.td
===================================================================
--- MinGW/Options.td
+++ MinGW/Options.td
@@ -68,6 +68,8 @@
 def no_seh: F<"no-seh">;
 def nxcompat: F<"nxcompat">, HelpText<"Enable data execution prevention">;
 def pic_executable: F<"pic-executable">;
+def plugin: S<"plugin">;
+def plugin_eq: J<"plugin=">, Alias<plugin>;
 def sysroot: J<"sysroot">, HelpText<"Sysroot">;
 def start_group: F<"start-group">;
 def tsaware: F<"tsaware">, HelpText<"Create Terminal Server aware executable">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57304.183764.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190127/57e79e21/attachment.bin>


More information about the llvm-commits mailing list