[PATCH] D50380: [Headers] Expand _Unwind_Exception for SEH on MinGW/x86_64

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 7 13:03:19 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL339170: [Headers] Expand _Unwind_Exception for SEH on MinGW/x86_64 (authored by mstorsjo, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D50380?vs=159481&id=159580#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50380

Files:
  cfe/trunk/lib/Headers/unwind.h


Index: cfe/trunk/lib/Headers/unwind.h
===================================================================
--- cfe/trunk/lib/Headers/unwind.h
+++ cfe/trunk/lib/Headers/unwind.h
@@ -154,8 +154,12 @@
 struct _Unwind_Exception {
   _Unwind_Exception_Class exception_class;
   _Unwind_Exception_Cleanup_Fn exception_cleanup;
+#if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__)
+  _Unwind_Word private_[6];
+#else
   _Unwind_Word private_1;
   _Unwind_Word private_2;
+#endif
   /* The Itanium ABI requires that _Unwind_Exception objects are "double-word
    * aligned".  GCC has interpreted this to mean "use the maximum useful
    * alignment for the target"; so do we. */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50380.159580.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180807/84b68783/attachment.bin>


More information about the cfe-commits mailing list