[llvm-commits] [llvm] r132532 - /llvm/trunk/include/llvm/MC/MCAsmInfo.h
Charles Davis
cdavis at mines.edu
Thu Jun 2 22:09:12 PDT 2011
Author: cdavis
Date: Fri Jun 3 00:09:12 2011
New Revision: 132532
URL: http://llvm.org/viewvc/llvm-project?rev=132532&view=rev
Log:
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.)
Modified:
llvm/trunk/include/llvm/MC/MCAsmInfo.h
Modified: llvm/trunk/include/llvm/MC/MCAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCAsmInfo.h?rev=132532&r1=132531&r2=132532&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCAsmInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCAsmInfo.h Fri Jun 3 00:09:12 2011
@@ -460,7 +460,8 @@
bool isExceptionHandlingDwarf() const {
return
(ExceptionsType == ExceptionHandling::DwarfCFI ||
- ExceptionsType == ExceptionHandling::ARM);
+ ExceptionsType == ExceptionHandling::ARM ||
+ ExceptionsType == ExceptionHandling::Win64);
}
bool doesDwarfUsesInlineInfoSection() const {
return DwarfUsesInlineInfoSection;
More information about the llvm-commits
mailing list