https://bugs.llvm.org/show_bug.cgi?id=39051
Bug ID: 39051
Summary: [7.0 Regression] libc++abi incorrectly aligns
exceptions in 32 bit builds
Product: libc++abi
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: All Bugs
Assignee: unassignedb...@nondot.org
Reporter: e...@efcs.ca
CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
Libc++ commit r339431 moved the _LIBCPP_HAS_NO_ALIGNED_ALLOCATION logic from
<new> to <__config>. As a result, it was defined when building libc++abi's
fallback_malloc.cpp, which made libc++abi think posix_memalign was unavailable.
This meant that libc++abi was silently falling back to using malloc. In 32 bit
builds, malloc does not return correctly aligned memory for the exception
header.
This is a regression in the 7.0 release.
The issues was fixed in libc++abi commit r342815. This change should be merged
into the 7.1 release.
@Marshall, Louis, can you sign off on this?
--
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