[lld] r320861 - [MinGW] Ignore the --no-seh flag

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 12:53:10 PST 2017


Author: mstorsjo
Date: Fri Dec 15 12:53:10 2017
New Revision: 320861

URL: http://llvm.org/viewvc/llvm-project?rev=320861&view=rev
Log:
[MinGW] Ignore the --no-seh flag

The COFF linker automatically sets the IMAGE_DLL_CHARACTERISTICS_NO_SEH
when suitable, similarly to link.exe.

Differential Revision: https://reviews.llvm.org/D41275

Modified:
    lld/trunk/MinGW/Options.td

Modified: lld/trunk/MinGW/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/MinGW/Options.td?rev=320861&r1=320860&r2=320861&view=diff
==============================================================================
--- lld/trunk/MinGW/Options.td (original)
+++ lld/trunk/MinGW/Options.td Fri Dec 15 12:53:10 2017
@@ -55,6 +55,7 @@ def full_shutdown: Flag<["--"], "full-sh
 def high_entropy_va: F<"high-entropy-va">, HelpText<"Enable 64-bit ASLR">;
 def major_image_version: S<"major-image-version">;
 def minor_image_version: S<"minor-image-version">;
+def no_seh: F<"no-seh">;
 def nxcompat: F<"nxcompat">, HelpText<"Enable data execution prevention">;
 def pic_executable: F<"pic-executable">;
 def sysroot: J<"sysroot">, HelpText<"Sysroot">;




More information about the llvm-commits mailing list