[PATCH] D25591: Implement P0035R4 -- Add C++17 aligned allocation functions
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 13 21:52:24 PDT 2016
EricWF created this revision.
EricWF added reviewers: mclow.lists, rsmith.
EricWF added subscribers: cfe-commits, rsmith.
This patch implements the library side of P0035R4. The implementation is thanks to @rsmith.
In addition to the C++17 implementation, the library implementation can be explicitly turned on using `-faligned-allocation` in all dialects.
https://reviews.llvm.org/D25591
Files:
include/new
lib/abi/CHANGELOG.TXT
lib/abi/x86_64-linux-gnu.abilist
src/new.cpp
test/libcxx/language.support/support.dynamic/new_faligned_allocation.sh.cpp
test/libcxx/test/config.py
test/std/language.support/support.dynamic/align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.array/new_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/delete_align_val_t_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_nothrow_replace.pass.cpp
test/std/language.support/support.dynamic/new.delete/new.delete.single/new_align_val_t_replace.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25591.74615.patch
Type: text/x-patch
Size: 51541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161014/335104aa/attachment-0001.bin>
More information about the cfe-commits
mailing list