Check _LIBCXXABI_ARM_EHABI macro instead of libunwind version.
Fixes PR34182
Differential D50170
[libcxxabi] Fix test_exception_address_alignment test for ARM yroux on Aug 2 2018, 1:28 AM. Authored by
Details
Check _LIBCXXABI_ARM_EHABI macro instead of libunwind version. Fixes PR34182
Diff Detail
Event TimelineComment Actions What do you other reviewers say? I'm not familiar with this code, but this seems reasonable to me. Comment Actions I dug a bit and can give more context. The usage of _LIBUNWIND_ARM_EHABI was introduced by D31178 but from what we are seeing with the release builds, libunwind headers are not picked up (at least in these configs) and since r309226 was committed, clang and libunwind unwind.h versions are close enough (and are the same w/r to alignment) to rely on libcxxabi macro _LIBCXXABI_ARM_EHABI to choose the alignment no matter which unwind header is used. Comment Actions It doesn't seem to get more reviewed than this. yroux, I'd say go ahead and commit it. |