Treat Win64 EH as a DWARF EH scheme. For GCC-style exceptions, the layout of

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
This commit is contained in:
Charles Davis 2011-06-03 05:09:12 +00:00
parent 21ac25144d
commit 645aef1480

View File

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