@@ -247,11 +247,11 @@ static of_spinlock_t emergencyExceptionsSpinlock; OF_CONSTRUCTOR() { if (!of_spinlock_new(&emergencyExceptionsSpinlock)) - OBJC_ERROR("Cannot create spinlock!") + OBJC_ERROR("Cannot create spinlock!"); } #endif static uint64_t readULEB128(const uint8_t **ptr) @@ -308,11 +308,11 @@ case DW_EH_PE_textrel: return _Unwind_GetTextRelBase(ctx); #endif } - OBJC_ERROR("Unknown encoding!") + OBJC_ERROR("Unknown encoding!"); } static size_t sizeForEncoding(uint8_t enc) { @@ -328,20 +328,20 @@ return 4; case DW_EH_PE_udata8: return 8; } - OBJC_ERROR("Unknown encoding!") + OBJC_ERROR("Unknown encoding!"); } static uint64_t readValue(uint8_t enc, const uint8_t **ptr) { uint64_t value; if (enc == DW_EH_PE_aligned) - OBJC_ERROR("DW_EH_PE_aligned is not implemented!") + OBJC_ERROR("DW_EH_PE_aligned is not implemented!"); #define READ(type) \ { \ type tmp; \ memcpy(&tmp, *ptr, sizeof(type)); \ @@ -369,11 +369,11 @@ case DW_EH_PE_sdata4: READ(int32_t) case DW_EH_PE_sdata8: READ(int64_t) default: - OBJC_ERROR("Unknown encoding!") + OBJC_ERROR("Unknown encoding!"); } #undef READ return value; } @@ -558,11 +558,11 @@ return HANDLER_FOUND; } } else if (filter == 0) return CLEANUP_FOUND; else if (filter < 0) - OBJC_ERROR("Invalid filter!") + OBJC_ERROR("Invalid filter!"); } while (displacement != 0); return 0; } @@ -690,11 +690,12 @@ _Unwind_SetIP(ctx, landingpad); return _URC_INSTALL_CONTEXT; } - OBJC_ERROR("Neither _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE in actions!") + OBJC_ERROR( + "Neither _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE in actions!"); } static void cleanup(_Unwind_Reason_Code reason, struct _Unwind_Exception *ex) { @@ -745,11 +746,11 @@ OBJC_ERROR("Cannot lock spinlock!"); #endif } if (e == NULL) - OBJC_ERROR("Not enough memory to allocate exception!") + OBJC_ERROR("Not enough memory to allocate exception!"); e->exception.class = GNUCOBJC_EXCEPTION_CLASS; e->exception.cleanup = (emergency ? emergencyExceptionCleanup : cleanup); e->object = object; @@ -757,11 +758,11 @@ _Unwind_RaiseException(&e->exception); if (uncaughtExceptionHandler != NULL) uncaughtExceptionHandler(object); - OBJC_ERROR("_Unwind_RaiseException() returned!") + OBJC_ERROR("_Unwind_RaiseException() returned!"); } objc_uncaught_exception_handler_t objc_setUncaughtExceptionHandler(objc_uncaught_exception_handler_t handler) {