Treat Win64 EH as a DWARF EH scheme. For GCC-style exceptions, the layout of
authorCharles Davis <cdavis@mines.edu>
Fri, 3 Jun 2011 05:09:12 +0000 (05:09 +0000)
committerCharles Davis <cdavis@mines.edu>
Fri, 3 Jun 2011 05:09:12 +0000 (05:09 +0000)
the handler's data area is similar to a DWARF-format LSDA. (It is, in fact,
a 32-bit pointer to the personality routine followed by the DWARF LSDA.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132532 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCAsmInfo.h

index cadec1bc68c7844d6c50d47c14f652ae0c6385f4..775d22bea42f19f5c9b097b564aa8c34ab160e34 100644 (file)
@@ -460,7 +460,8 @@ namespace llvm {
     bool isExceptionHandlingDwarf() const {
       return
         (ExceptionsType == ExceptionHandling::DwarfCFI ||
-         ExceptionsType == ExceptionHandling::ARM);
+         ExceptionsType == ExceptionHandling::ARM ||
+         ExceptionsType == ExceptionHandling::Win64);
     }
     bool doesDwarfUsesInlineInfoSection() const {
       return DwarfUsesInlineInfoSection;