ObjFW  Check-in [6dcd43ed6c]

Overview
Comment:Remove an _Unwind_DeleteException call.

It seems that this call is fine with Clang, but crashes with GCC.
Removing this call does not seem to introduce a leak (verified with
valgrind).

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6dcd43ed6c806d6099e4c7fa4319725828d7425d6685f6f43bfdfca215f489b2
User & Date: js on 2013-09-29 16:26:41
Other Links: manifest | tags
Context
2013-09-29
19:44
Get rid of a warning on 32-bit systems with Clang. check-in: 90de201b43 user: js tags: trunk
16:26
Remove an _Unwind_DeleteException call. check-in: 6dcd43ed6c user: js tags: trunk
16:25
Add missing includes. check-in: c6a65ca7a6 user: js tags: trunk
Changes

Modified src/runtime/exception.m from [2dc53da018] to [8bf5e39212].

595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
			CONTINUE_UNWIND;

		_Unwind_SetGR(ctx, __builtin_eh_return_data_regno(0),
		    (uintptr_t)ex);
		_Unwind_SetGR(ctx, __builtin_eh_return_data_regno(1), filter);
		_Unwind_SetIP(ctx, landingpad);

		_Unwind_DeleteException(ex);

		return _URC_INSTALL_CONTEXT;
	}

	abort();
}

static void







<
<







595
596
597
598
599
600
601


602
603
604
605
606
607
608
			CONTINUE_UNWIND;

		_Unwind_SetGR(ctx, __builtin_eh_return_data_regno(0),
		    (uintptr_t)ex);
		_Unwind_SetGR(ctx, __builtin_eh_return_data_regno(1), filter);
		_Unwind_SetIP(ctx, landingpad);



		return _URC_INSTALL_CONTEXT;
	}

	abort();
}

static void