summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-06-03 05:09:12 +0000
committerCharles Davis <cdavis@mines.edu>2011-06-03 05:09:12 +0000
commit99401524cb22637d1365b7c43421ed76b5d871b5 (patch)
treedb4ea43ed04ac5356fb7abfe99cac0f807773cbf
parent8b73b3e9814dab52de0424da3c3536d8fdde69f5 (diff)
downloadbcm5719-llvm-99401524cb22637d1365b7c43421ed76b5d871b5.tar.gz
bcm5719-llvm-99401524cb22637d1365b7c43421ed76b5d871b5.zip
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.) llvm-svn: 132532
-rw-r--r--llvm/include/llvm/MC/MCAsmInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h
index cadec1bc68c..775d22bea42 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -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;
OpenPOWER on IntegriCloud