[PATCH] Generate SEH unwinding info on Win64

Vadim Chugunov vadimcn at gmail.com
Fri Jun 13 18:18:12 PDT 2014

Comment at: lib/Target/X86/X86ISelLowering.cpp:600-603
@@ -599,5 +599,6 @@
   // FIXME - use subtarget debug flags
   if (!Subtarget->isTargetDarwin() &&
       !Subtarget->isTargetELF() &&
-      !Subtarget->isTargetCygMing()) {
+      !Subtarget->isTargetCygMing() &&
+      !Subtarget->isTargetWin64()) {
     setOperationAction(ISD::EH_LABEL, MVT::Other, Expand);
Reid Kleckner wrote:
> Can we flip this to the positive sense?  What targets actually need it?  win32 only?
This is to make sure that landing pads do get emitted for win64.  Honestly, I have no idea what the inverse of this set looks like.


More information about the llvm-commits mailing list