diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-05-08 19:13:16 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-05-08 19:13:16 +0000 |
commit | 8b547a338373b6e149d8ceed34bbf6a979a1e10d (patch) | |
tree | 7957e400ddf11785a9534a2569e9eb84b5e832ec /include | |
parent | c8b4d8d483ac5f4a0589841783bbee96f6cdfb29 (diff) |
Fixes more incorrect #ifs for SJ/LJ exceptions
Replaces several `#if __arm__` with `#if __USING_SJLJ_EXCEPTIONS__`.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@208352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/unwind.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unwind.h b/include/unwind.h index 20634ae..673e060 100644 --- a/include/unwind.h +++ b/include/unwind.h @@ -101,7 +101,7 @@ extern void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t new_value); extern uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *context); extern uintptr_t _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context); -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ extern _Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind(struct _Unwind_Exception *exception_object, _Unwind_Stop_Fn stop, void *stop_parameter); @@ -111,7 +111,7 @@ extern _Unwind_Reason_Code _Unwind_Stop_Fn stop, void *stop_parameter); #endif -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ typedef struct _Unwind_FunctionContext *_Unwind_FunctionContext_t; extern void _Unwind_SjLj_Register(_Unwind_FunctionContext_t fc); extern void _Unwind_SjLj_Unregister(_Unwind_FunctionContext_t fc); @@ -124,7 +124,7 @@ extern void _Unwind_SjLj_Unregister(_Unwind_FunctionContext_t fc); // // called by __cxa_rethrow(). // -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ extern _Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow(struct _Unwind_Exception *exception_object); #else |