[ARM] Use SEH exceptions on thumbv7-windows
authorMartell Malone <martellmalone@gmail.com>
Tue, 21 Nov 2017 11:30:20 +0000 (11:30 +0000)
committerMartell Malone <martellmalone@gmail.com>
Tue, 21 Nov 2017 11:30:20 +0000 (11:30 +0000)
Reviewers: mstorsjo

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

llvm-svn: 318756

llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp

index 177b636..0cef683 100644 (file)
@@ -86,7 +86,7 @@ void ARMCOFFMCAsmInfoMicrosoft::anchor() { }
 
 ARMCOFFMCAsmInfoMicrosoft::ARMCOFFMCAsmInfoMicrosoft() {
   AlignmentIsInBytes = false;
-
+  ExceptionsType = ExceptionHandling::WinEH;
   PrivateGlobalPrefix = "$M";
   PrivateLabelPrefix = "$M";
   CommentString = ";";