[AArch64] [MinGW] Allow enabling SEH exceptions
commit0b730b16a10a0effc30d6b30cbe3ed80464a9582
authorMartin Storsjo <martin@martin.st>
Tue, 18 Dec 2018 08:32:37 +0000 (18 08:32 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 18 Dec 2018 08:32:37 +0000 (18 08:32 +0000)
tree66b7174870247072754f93e19e8b3d55d3f0778e
parentd67543f416492d8bb9726c852c92ec8bfb2c9ac5
[AArch64] [MinGW] Allow enabling SEH exceptions

The default still is dwarf, but SEH exceptions can now be enabled
optionally for the MinGW target.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
test/CodeGen/AArch64/wineh-mingw.ll [new file with mode: 0644]