History log of /external/libcxxabi/test/test_exception_address_alignment.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a3a1a8a5ca5ef69e0f6b7d5b9d13e63e6fd2c19 04-Apr-2017 Asiri Rathnayake <asiri.rathnayake@arm.com> Fix exception address alignment test for EHABI

This test fails on ARM bare-metal targets because it assumes the Itanium ABI,
whereas EHABI requires the exception address to be 8-byte aligned.

I was a bit puzzled at first because this should've failed on the public
arm-linux builder too. I think the reason it passes there is because we don't
include libunwind headers in the include path when running the libcxxabi tests,
so the system unwind.h gets picked up.

Reviewers: rengolin, EricWF
Differential revision: https://reviews.llvm.org/D31178

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@299435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_exception_address_alignment.pass.cpp
7fa83316a3e1169b936fd71f5ac6a2ee259fca97 04-Mar-2017 Eric Fiselier <eric@efcs.ca> Add missing UNSUPPORTED for -fno-exception mode

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_exception_address_alignment.pass.cpp
494247ca25accbb9e7c1308aeae0f1ada496814b 04-Mar-2017 Eric Fiselier <eric@efcs.ca> Attempt to suppress test failures on OS X

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_exception_address_alignment.pass.cpp
aad059409f93f48058f669d730cb35ad7b84bb69 04-Mar-2017 Eric Fiselier <eric@efcs.ca> [libcxxabi] Fix alignment of allocated exceptions in 32 bit builds

Summary:
In 32 bit builds on a 64 bit system `std::malloc` does not return correctly aligned memory. This leads to undefined behavior.

This patch switches to using `posix_memalign` to allocate correctly aligned memory instead.

Reviewers: mclow.lists, danalbert, jroelofs, compnerd

Reviewed By: compnerd

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25417

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxxabi/test/test_exception_address_alignment.pass.cpp