[PATCH 4/5] malloc: Extend malloc function hiding to tst-pvalloc (BZ #32366)

Sam James sam@gentoo.org
Sat Dec 6 13:31:32 GMT 2025


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:

> clang 21 optimize out reallocarray.

Reviewed-by: Sam James <sam@gentoo.org>

> ---
>  malloc/tst-pvalloc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/malloc/tst-pvalloc.c b/malloc/tst-pvalloc.c
> index 8514646184..88bca6e945 100644
> --- a/malloc/tst-pvalloc.c
> +++ b/malloc/tst-pvalloc.c
> @@ -22,6 +22,7 @@
>  #include <string.h>
>  #include <unistd.h>
>  #include <libc-diag.h>
> +#include "tst-malloc-aux.h"
>  
>  static int errors = 0;


More information about the Libc-alpha mailing list