1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-21 17:31:10 +03:00

malloc: Extend malloc function hiding to tst-reallocarray (BZ #32366)

clang 20 optimize out reallocarray.

Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
Adhemerval Zanella
2025-12-05 16:11:36 -03:00
parent 54516bb385
commit d89e3a77c4
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
#include <string.h>
#include <support/check.h>
#include <libc-diag.h>
#include "tst-malloc-aux.h"
static void *
reallocarray_nowarn (void *ptr, size_t nmemb, size_t size)