emaste 3d9b7a1602 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
..
2015-08-09 05:14:25 +00:00
2016-03-25 22:32:26 +00:00
2015-10-11 17:45:20 +00:00
2016-07-01 05:48:45 +00:00
2016-06-27 01:29:17 +00:00
2016-04-20 17:58:13 +00:00
2016-06-30 14:53:46 +00:00
2016-06-09 06:10:20 +00:00
2016-01-05 05:25:16 +00:00
2016-06-30 08:51:50 +00:00
2016-06-05 11:56:03 +00:00
2016-07-03 01:35:27 +00:00
2016-06-09 19:12:51 +00:00
2015-09-27 07:04:16 +00:00
2016-06-03 08:00:22 +00:00
2016-07-20 03:52:04 +00:00
2016-04-17 21:23:14 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-11-21 09:09:25 +00:00