summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/test_exception_address_alignment.pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix exception address alignment test for EHABIAsiri Rathnayake2017-04-041-4/+13
| | | | | | | | | | | | | | | 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 llvm-svn: 299435
* Add missing UNSUPPORTED for -fno-exception modeEric Fiselier2017-03-041-0/+1
| | | | llvm-svn: 296957
* Attempt to suppress test failures on OS XEric Fiselier2017-03-041-0/+12
| | | | llvm-svn: 296955
* [libcxxabi] Fix alignment of allocated exceptions in 32 bit buildsEric Fiselier2017-03-041-0/+28
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 llvm-svn: 296952
OpenPOWER on IntegriCloud