https://llvm.org/bugs/show_bug.cgi?id=27208
Bug ID: 27208 Summary: Make sure _Unwind_Exception object is double-word aligned. Product: libc++abi Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedb...@nondot.org Reporter: ahata...@gmail.com CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified Itanium C++ ABI states that an _Unwind_Exception object should be double-word (16B) aligned: https://mentorembedded.github.io/cxx-abi/abi-eh.html#base-data However, libc++abi doesn't guarantee it's 16-byte aligned, which caused programs to crash when __cxa_allocate_exception returned an under-aligned object. r264998 fixed clang to lower the expected alignment on Darwin. We should investigate whether other OSes need similar fixes and whether it's possible to fix this in libc++abi (instead of in clang) without breaking the ABI. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs