]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
malloc: Extend malloc function hiding to tst-pvalloc (BZ #32366)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Dec 2025 19:11:35 +0000 (16:11 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 9 Dec 2025 14:14:12 +0000 (11:14 -0300)
clang 21 optimize out reallocarray.

Reviewed-by: Sam James <sam@gentoo.org>
malloc/tst-pvalloc.c

index 85146461841cd48792b58bfc66b6f93e8d0b7662..88bca6e945ef3ef11346ec355c7adadd4139965e 100644 (file)
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <libc-diag.h>
+#include "tst-malloc-aux.h"
 
 static int errors = 0;