]> sourceware.org Git - valgrind.git/commit
Make operator new aligned more like the standalone versions
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 8 Mar 2023 22:10:22 +0000 (23:10 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 8 Mar 2023 22:10:22 +0000 (23:10 +0100)
commitd4affb0ab725a59da786fee4b918b338eec615fe
treec3e172d65d3dabf153860e2f3b4f7fa7887860a8
parentbb5e8df5604214b690ab39445014bfb284450b00
Make operator new aligned more like the standalone versions

If the alignment is not a power of two return nullptr for the
nothrow overload and bomb for the throwing overload.
.gitignore
coregrind/m_replacemalloc/vg_replace_malloc.c
memcheck/tests/Makefile.am
memcheck/tests/sized_aligned_new_delete_misaligned.cpp [new file with mode: 0644]
memcheck/tests/sized_aligned_new_delete_misaligned.stderr.exp [new file with mode: 0644]
memcheck/tests/sized_aligned_new_delete_misaligned.vgtest [new file with mode: 0644]
This page took 0.031878 seconds and 5 git commands to generate.