summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-05-06 21:18:15 +0000
committerMartin Storsjo <martin@martin.st>2019-05-06 21:18:15 +0000
commit899f3cd5817e410402a2f39a636a3bb4b119b3e2 (patch)
treece3dcf930113a38145bc8907fba8e48350c0470b /llvm/lib
parent60b240edb40bb8a69ef7ca4a9f06c73c51335587 (diff)
downloadbcm5719-llvm-899f3cd5817e410402a2f39a636a3bb4b119b3e2.tar.gz
bcm5719-llvm-899f3cd5817e410402a2f39a636a3bb4b119b3e2.zip
[AArch64] Default to SEH exception handling on MinGW
The SEH implementation is pretty mature at this point. Differential Revision: https://reviews.llvm.org/D61590 llvm-svn: 360080
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
index 728e91572e1..ecff1ab0a8b 100644
--- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
@@ -130,8 +130,6 @@ AArch64MCAsmInfoGNUCOFF::AArch64MCAsmInfoGNUCOFF() {
CodePointerSize = 8;
CommentString = "//";
- ExceptionsType = ExceptionHandling::DwarfCFI;
- // The default is dwarf, but WinEH can be enabled optionally, which requires
- // WinEHEncodingType to be set.
+ ExceptionsType = ExceptionHandling::WinEH;
WinEHEncodingType = WinEH::EncodingType::Itanium;
}
OpenPOWER on IntegriCloud