summaryrefslogtreecommitdiff
path: root/test/test_exception_address_alignment.pass.cpp
AgeCommit message (Collapse)Author
2017-04-04Fix exception address alignment test for EHABIAsiri Rathnayake
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
2017-03-04Add missing UNSUPPORTED for -fno-exception modeEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296957 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-04Attempt to suppress test failures on OS XEric Fiselier
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@296955 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-04[libcxxabi] Fix alignment of allocated exceptions in 32 bit buildsEric Fiselier
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