hanchenye-llvm-project/libcxxabi
Akira Hatanaka 9ef1daa46e Insert padding before the __cxa_exception header to ensure the thrown
object is sufficiently aligned.

r303175 annotated field unwindHeader of __cxa_exception with attribute
'aligned' to ensure the thrown object following the __cxa_exception
header was sufficiently aligned. This caused changes in the field
offsets of __cxa_exception relative to the start of the thrown object,
which was an ABI breaking change for some clients.

Instead of annotating field unwindHeader, this commit inserts extra
space before the header. This ensures the thrown object following the
header is sufficiently aligned without changing the field offsets, thus
avoiding any ABI breakages.

rdar://problem/25364625
rdar://problem/35556163

llvm-svn: 319123
2017-11-28 00:36:29 +00:00
..
cmake build: use cmake to pass -std=c++11 2017-06-11 23:59:26 +00:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include [libcxxabi] Clean up macro usage. 2017-03-01 11:42:01 +00:00
lib
src Insert padding before the __cxa_exception header to ensure the thrown 2017-11-28 00:36:29 +00:00
test [demangler] Support for abi_tag attribute 2017-11-22 20:38:22 +00:00
www [CMake] Be more consistent about naming targets and components in libc++abi 2016-08-28 18:28:51 +00:00
.arcconfig Fix arc config to use https 2016-07-18 02:05:52 +00:00
.clang-format Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
.gitignore
CMakeLists.txt [libcxxabi][CMake] Provide option to disable installing of the library 2017-11-17 23:25:09 +00:00
CREDITS.TXT
LICENSE.TXT Update LICENSE.TXT to 2017 2017-01-03 11:21:43 +00:00