Index: src/runtime/exception.m ================================================================== --- src/runtime/exception.m +++ src/runtime/exception.m @@ -36,11 +36,11 @@ # define CXX_PERSONALITY __gxx_personality_sj0 # define _Unwind_RaiseException _Unwind_SjLj_RaiseException # define __builtin_eh_return_data_regno(i) (i) #elif defined(HAVE_SEH_EXCEPTIONS) # define PERSONALITY gnu_objc_personality -# define CXX_PERSONALITY __gxx_personality_seh0 +# define CXX_PERSONALITY __gxx_personality_v0 #else # error Unknown exception type! #endif #if defined(OF_ARM) && !defined(__ARM_DWARF_EH__) @@ -566,11 +566,11 @@ if (foreign) { switch (ex_class) { case GNUCCXX0_EXCEPTION_CLASS: case CLNGCXX0_EXCEPTION_CLASS: - if (__gxx_personality_v0 != NULL) + if (CXX_PERSONALITY != NULL) return CALL_PERSONALITY(CXX_PERSONALITY); break; } /*