[PATCH] D28931: Disable aligned new/delete on Apple platforms without posix_memalign

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 17:16:08 PST 2017


EricWF created this revision.

This patch disables the aligned new/delet overloads on Apple platforms without `posix_memalign`. This fixes libc++.dylib build regressions on such platforms.
This fixes http://llvm.org/PR31448.

This patch should also be merged into the 4.0 release branch


https://reviews.llvm.org/D28931

Files:
  include/__config
  include/new
  src/new.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28931.85068.patch
Type: text/x-patch
Size: 6933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170120/c9601dec/attachment.bin>


More information about the cfe-commits mailing list