]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove compat hacks from libcxxrt's _Unwind_Exception
authorDimitry Andric <dim@FreeBSD.org>
Tue, 8 Mar 2022 21:53:16 +0000 (22:53 +0100)
committerDimitry Andric <dim@FreeBSD.org>
Wed, 9 Mar 2022 17:25:18 +0000 (18:25 +0100)
commit72df847a94bccee245a3316e4f848482b9ac2ac2
treee6824d8f2c5c7b019bcdfa2731daaf3c2e6debdf
parent7e64519a479abe1ff92a0985790f5c2b8a9d95df
Remove compat hacks from libcxxrt's _Unwind_Exception

This reverts 9097e3cbcac4, which was in itself a revert of upstream
libcxxrt commits 88bdf6b290da ("Specify double-word alignment for ARM
unwind") and b96169641f79 ("Updated Itanium unwind"), and a
reapplication of our commit 3c4fd2463bb2 ("libcxxrt: add padding in
__cxa_allocate_* to fix alignment").

The editors/libreoffice port will be patched to be able to cope with the
standards-compliant alignment of _Unwind_Exception and consequently,
that of __cxa_exception. The layouts and sizes of these structures
should then be completely the same for libcxxrt, libunwind and
libc++abi.

PR: 262008
Reviewed by: emaste, jhb, theraven
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D34488
contrib/libcxxrt/exception.cc
contrib/libcxxrt/unwind-arm.h
contrib/libcxxrt/unwind-itanium.h