ftmemsim-valgrind/memcheck/tests/sized_aligned_new_delete_misaligned.stderr.exp
Paul Floyd d4affb0ab7 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.
2023-03-08 23:10:22 +01:00

11 lines
596 B
Plaintext

new/new[] aligned failed and should throw an exception, but Valgrind
cannot throw exceptions and so is aborting instead. Sorry.
...
by 0x........: operator new(unsigned long, std::align_val_t) (vg_replace_malloc.c:...)
by 0x........: main (sized_aligned_new_delete_misaligned.cpp:69)
new/new[] aligned failed and should throw an exception, but Valgrind
cannot throw exceptions and so is aborting instead. Sorry.
...
by 0x........: operator new[](unsigned long, std::align_val_t) (vg_replace_malloc.c:...)
by 0x........: main (sized_aligned_new_delete_misaligned.cpp:81)