aboutsummaryrefslogtreecommitdiff
path: root/contrib/libcxxrt/unwind-arm.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-02-26 07:42:16 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-02-26 07:42:16 +0000
commitfb48e1d39ce4d806f6c05dfe2805fa4c5d63d0de (patch)
tree443750abfecca206c7b6c21c9a095a3894c7ba33 /contrib/libcxxrt/unwind-arm.h
parenta0f4b91bed84b60324957f3efe1acabf636c5b3f (diff)
downloadsrc-fb48e1d39ce4d806f6c05dfe2805fa4c5d63d0de.tar.gz
src-fb48e1d39ce4d806f6c05dfe2805fa4c5d63d0de.zip
Since newer versions of compiler-rt require unwind.h, and we want to use
the copy in libcxxrt for it, fix the arm-specific header to define the _Unwind_Action type. Submitted by: andrew MFC after: 3 days
Notes
Notes: svn path=/head/; revision=279310
Diffstat (limited to 'contrib/libcxxrt/unwind-arm.h')
-rw-r--r--contrib/libcxxrt/unwind-arm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libcxxrt/unwind-arm.h b/contrib/libcxxrt/unwind-arm.h
index 52e563e41b62..23f2b79f7e6a 100644
--- a/contrib/libcxxrt/unwind-arm.h
+++ b/contrib/libcxxrt/unwind-arm.h
@@ -36,6 +36,8 @@
_URC_FATAL_PHASE1_ERROR = _URC_FAILURE
} _Unwind_Reason_Code;
+typedef int _Unwind_Action;
+
typedef uint32_t _Unwind_State;
#ifdef __clang__
static const _Unwind_State _US_VIRTUAL_UNWIND_FRAME = 0;