summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-02-26 07:42:16 +0000
committerdim <dim@FreeBSD.org>2015-02-26 07:42:16 +0000
commit46fb43d0992e88c401e604379d956b7bbad45dfc (patch)
tree443750abfecca206c7b6c21c9a095a3894c7ba33 /contrib/libcxxrt
parentea2f309a40278ff24b148e983999100320aa809c (diff)
downloadFreeBSD-src-46fb43d0992e88c401e604379d956b7bbad45dfc.zip
FreeBSD-src-46fb43d0992e88c401e604379d956b7bbad45dfc.tar.gz
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
Diffstat (limited to 'contrib/libcxxrt')
-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 52e563e..23f2b79 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;
OpenPOWER on IntegriCloud