]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Synchronize libcxxrt in stable/10 with stable/11.
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Mar 2017 21:46:02 +0000 (21:46 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 25 Mar 2017 21:46:02 +0000 (21:46 +0000)
commitf863be9f49862d783637ba774ee0bc481802be0f
tree22389d1b2fdf316607170a3cfa699bb653dcb105
parent47aa8a5d60058b4dcaae5c6ce12fa0b3f3eba037
Synchronize libcxxrt in stable/10 with stable/11.

MFC r284553 (by emaste):

Update libcxxrt upgrade instructions

The typeinfo file no longer exists upstream.

MFC r297299:

Compile libcxxrt as C++11, since it is only really used in combination
with libc++, which is also C++11.  Also change one _Static_assert (which
is really C11) back into static_assert, like upstream.

This should help when compiling libcxxrt with newer versions of gcc,
which refuse to recognize any form of static assertions, if not
compiling for C++11 or higher.

While here, add -nostdinc++ to CFLAGS, to prevent picking up any C++
headers outside the source tree.

MFC r299144:

Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef.

Interesting fixes:
3adaa2e Fix _Unwind_Exception cleanup functions
286776c Check exception cleanup function ptr before calling
edda626 Correct exception specifications on new and delete operators

MFC r303157 (by emaste):

libcxxrt: add padding in __cxa_allocate_* to fix alignment

The addition of the referenceCount to __cxa_allocate_exception put the
unwindHeader at offset 0x58 in __cxa_exception, but it requires 16-byte
alignment. In order to avoid changing the current __cxa_exception ABI
(and thus breaking its consumers), add explicit padding in the
allocation routines (and account for it when freeing).

This is intended as a lower-risk change for FreeBSD 11. A "more correct"
fix should be prepared for upstream and -CURRENT.

Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D7271

MFC r305396:

Add _US_ACTION_MASK to libcxxrt's arm-specific unwind header.  This
value is used in newer versions of compiler-rt.

git-svn-id: svn://svn.freebsd.org/base/stable/10@315965 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/libcxxrt/FREEBSD-upgrade
contrib/libcxxrt/exception.cc
contrib/libcxxrt/guard.cc
contrib/libcxxrt/memory.cc
contrib/libcxxrt/unwind-arm.h
lib/libcxxrt/Makefile
lib/libcxxrt/Version.map