[PATCH] D12512: [libcxxabi] Manually align pointers in __cxa_allocate_exception - Fixes PR24604

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 6 23:45:03 PDT 2015


EricWF updated this revision to Diff 34128.
EricWF added a comment.

Address @joerg's comment and use `posix_memalign` when available. This patch does not fix the case where `posix_memalign` is unavailable but that should be rare and can come in another patch.

Thi patch also defers all changes to `fallback_malloc` to http://reviews.llvm.org/D12669.


http://reviews.llvm.org/D12512

Files:
  CMakeLists.txt
  cmake/config-ix.cmake
  src/cxa_exception.cpp
  test/test_cxa_allocate_exception.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12512.34128.patch
Type: text/x-patch
Size: 4545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150907/2b7319bc/attachment.bin>


More information about the cfe-commits mailing list