[PATCH] D139503: [Headers][ARM] Allow `struct _Unwind_Exception` in unwind.h

Ryan Prichard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 15:16:49 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG106a99276f9e: [Headers][ARM] Allow `struct _Unwind_Exception` in unwind.h (authored by rprichard).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139503/new/

https://reviews.llvm.org/D139503

Files:
  clang/lib/Headers/unwind.h


Index: clang/lib/Headers/unwind.h
===================================================================
--- clang/lib/Headers/unwind.h
+++ clang/lib/Headers/unwind.h
@@ -65,7 +65,8 @@
 #if defined(__arm__) && !(defined(__USING_SJLJ_EXCEPTIONS__) || \
                           defined(__ARM_DWARF_EH__) || defined(__SEH__))
 struct _Unwind_Control_Block;
-typedef struct _Unwind_Control_Block _Unwind_Exception; /* Alias */
+typedef struct _Unwind_Control_Block _Unwind_Control_Block;
+#define _Unwind_Exception _Unwind_Control_Block /* Alias */
 #else
 struct _Unwind_Exception;
 typedef struct _Unwind_Exception _Unwind_Exception;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139503.481759.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221209/253ea04f/attachment.bin>


More information about the cfe-commits mailing list