[AArch64] Use dwarf exception handling on MinGW
authorMartin Storsjo <martin@martin.st>
Fri, 3 Nov 2017 07:33:20 +0000 (07:33 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 3 Nov 2017 07:33:20 +0000 (07:33 +0000)
commit9befcd7d8dee99507909507d90d6315b848ea75a
tree8e95b3da49bbcfba6078e789a21994617d4fc526
parentf5e72b54ac816037b650bf3280edf942d7be6aaa
[AArch64] Use dwarf exception handling on MinGW

Ideally we should probably produce WinEH here as well, but until
then, we can use dwarf exceptions, without any further changes
required in clang, libunwind or libcxxabi.

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

llvm-svn: 317304
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
llvm/test/CodeGen/AArch64/dwarf-cfi.ll [new file with mode: 0644]