aboutsummaryrefslogtreecommitdiff
path: root/unwind-itanium.h
diff options
context:
space:
mode:
Diffstat (limited to 'unwind-itanium.h')
-rw-r--r--unwind-itanium.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/unwind-itanium.h b/unwind-itanium.h
index 0ca9488605aa..199d91de283d 100644
--- a/unwind-itanium.h
+++ b/unwind-itanium.h
@@ -40,6 +40,7 @@ extern "C" {
typedef enum
{
_URC_NO_REASON = 0,
+ _URC_OK = 0,
_URC_FOREIGN_EXCEPTION_CAUGHT = 1,
_URC_FATAL_PHASE2_ERROR = 2,
_URC_FATAL_PHASE1_ERROR = 3,
@@ -78,9 +79,12 @@ struct _Unwind_Exception
{
uint64_t exception_class;
_Unwind_Exception_Cleanup_Fn exception_cleanup;
- unsigned long private_1;
- unsigned long private_2;
- } ;
+ uintptr_t private_1;
+ uintptr_t private_2;
+#if __SIZEOF_POINTER__ == 4
+ uint32_t reserved[3];
+#endif
+ } __attribute__((__aligned__));
extern _Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *);
extern _Unwind_Reason_Code _Unwind_ForcedUnwind (struct _Unwind_Exception *,