[llvm-bugs] [Bug 27208] New: Make sure _Unwind_Exception object is double-word aligned.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 4 16:16:05 PDT 2016
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: unassignedbugs at nondot.org
Reporter: ahatanak at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160404/8c851d13/attachment.html>
More information about the llvm-bugs
mailing list