[PATCH] D41252: [MinGW] Implement the --no-seh flag

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 11:36:12 PST 2017


mstorsjo created this revision.
mstorsjo added reviewers: ruiu, rnk.

When this flag is specified, the IMAGE_DLL_CHARACTERISTICS_NO_SEH bit should be set in DLLCharacteristics.

Since this flag doesn't seem to exist in link.exe, the name for the COFF driver option is up for discussion. Right now I made it consistent with the GNU linker option (modulo spelling wrt dashes) and the characteristics flag, but that makes for some quite awkward double negations.

Once the naming related parts are settled, I can split it into two commits for COFF+MinGW separately.


https://reviews.llvm.org/D41252

Files:
  COFF/Config.h
  COFF/Driver.cpp
  COFF/Options.td
  COFF/Writer.cpp
  MinGW/Driver.cpp
  MinGW/Options.td
  test/COFF/options.test
  test/MinGW/driver.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41252.127003.patch
Type: text/x-patch
Size: 4552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/222f5b6e/attachment.bin>


More information about the llvm-commits mailing list