freebsd-dev/contrib/libcxxrt
Ed Maste 3c4fd2463b 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
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7271
2016-07-21 18:20:35 +00:00
..
abi_namespace.h
atomic.h Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. 2014-12-30 20:01:06 +00:00
auxhelper.cc Add support for __cxa_throw_bad_array_new_length in libcxxrt 2014-10-21 10:19:45 +00:00
cxxabi.h Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. 2014-12-30 20:01:06 +00:00
dwarf_eh.h Make libcxxrt's parsing of DWARF exception handling tables work on 2015-02-26 07:20:05 +00:00
dynamic_cast.cc Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. 2014-12-30 20:01:06 +00:00
exception.cc libcxxrt: add padding in __cxa_allocate_* to fix alignment 2016-07-21 18:20:35 +00:00
FREEBSD-upgrade Update libcxxrt upgrade instructions 2015-06-18 14:29:46 +00:00
guard.cc Compile libcxxrt as C++11, since it is only really used in combination 2016-03-27 00:37:54 +00:00
libelftc_dem_gnu3.c Import libcxxrt master e64e93fe5bba67a6d52cbe5a97f8770c054bfa65. 2015-06-18 14:12:08 +00:00
LICENSE
memory.cc Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef. 2016-05-05 22:40:07 +00:00
stdexcept.cc Partially revert r273382, to reduce diffs against upstream. This was a 2015-01-30 18:26:38 +00:00
stdexcept.h Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. 2014-12-30 20:01:06 +00:00
terminate.cc Import new versions of libcxxrt and libc++. 2012-03-14 00:09:36 +00:00
typeinfo.cc Revert r256642, not only to reduce diffs against upstream libcxxrt, but 2015-01-31 23:08:29 +00:00
typeinfo.h Merge new version of libcxxrt. This brings in three fixes: 2013-01-11 15:05:55 +00:00
unwind-arm.h Since newer versions of compiler-rt require unwind.h, and we want to use 2015-02-26 07:42:16 +00:00
unwind-itanium.h Import a new libcxxrt. This fixes some potential crashing in the demangler. 2013-09-23 13:16:21 +00:00
unwind.h Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604. 2014-12-30 20:01:06 +00:00