[COFF] Set the IMAGE_DLL_CHARACTERISTICS_NO_SEH flag automatically
authorMartin Storsjo <martin@martin.st>
Fri, 15 Dec 2017 20:53:03 +0000 (20:53 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 15 Dec 2017 20:53:03 +0000 (20:53 +0000)
commita1e9b6e3d2d82e2259631450e9b345b4ec3d5b51
tree85dacf95b4901f2e61a6f8c444d368b46761dbfb
parentcad70885a537e8392794f82cd9664ca37b03cb9f
[COFF] Set the IMAGE_DLL_CHARACTERISTICS_NO_SEH flag automatically

This seems to match how link.exe sets it.

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

llvm-svn: 320860
lld/COFF/Writer.cpp
lld/test/COFF/hello32.test
lld/test/COFF/safeseh.s