]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 446754 Improve error codes from alloc functions under memcheck
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 9 May 2022 20:53:04 +0000 (22:53 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 9 May 2022 20:57:06 +0000 (22:57 +0200)
commit978eb7f1ab4ea5990bf08e68a7a417933271e11b
treeb97e7fab0a04f9a98f1670b1710c0024ccb3426b
parent35fcf875c6b7ba107e468d7a9d88df1e70058edd
Bug 446754 Improve error codes from alloc functions under memcheck

I've made these changes only for FreeBSD and Solaris for the moment.

I don't know what should be done on Linux for aligned_alloc/memalign.
The current Valgrind code refects the glibc implementation, but not
what the documentation says.
.gitignore
NEWS
coregrind/m_replacemalloc/vg_replace_malloc.c
memcheck/tests/freebsd/Makefile.am
memcheck/tests/freebsd/errno_aligned_allocs.c [new file with mode: 0644]
memcheck/tests/freebsd/errno_aligned_allocs.stderr.exp [new file with mode: 0644]
memcheck/tests/freebsd/errno_aligned_allocs.vgtest [new file with mode: 0644]