[PATCH] D126863: [compiler-rt] Check __SEH__, when checking if ARM EHABI is implied

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 13:28:13 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG03c19f41a26a: [builtins] Check __SEH__, when checking if ARM EHABI is implied (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126863

Files:
  compiler-rt/lib/builtins/gcc_personality_v0.c


Index: compiler-rt/lib/builtins/gcc_personality_v0.c
===================================================================
--- compiler-rt/lib/builtins/gcc_personality_v0.c
+++ compiler-rt/lib/builtins/gcc_personality_v0.c
@@ -143,7 +143,7 @@
 }
 
 #if defined(__arm__) && !defined(__USING_SJLJ_EXCEPTIONS__) &&                 \
-    !defined(__ARM_DWARF_EH__)
+    !defined(__ARM_DWARF_EH__) && !defined(__SEH__)
 #define USING_ARM_EHABI 1
 _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
                                        struct _Unwind_Context *);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126863.434584.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/ead90d97/attachment.bin>


More information about the llvm-commits mailing list