]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Regtest: put back a glibc version ofr memalign_args test
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 26 Mar 2023 15:05:25 +0000 (17:05 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 26 Mar 2023 15:05:25 +0000 (17:05 +0200)
I forgot that glibc aligned_alloc really is memalign, which
changes the callstack.

memcheck/tests/Makefile.am
memcheck/tests/memalign_args.stderr.exp-glibc [new file with mode: 0644]

index 6a6eb91ddc729463c90fb848cab0b9865784764d..7bfedb3058a1086aeeba2b29596b4f4e971447bd 100644 (file)
@@ -225,6 +225,7 @@ EXTRA_DIST = \
        memalign_test.stderr.exp memalign_test.vgtest \
                memalign_test.stderr.exp-freebsd-clang \
        memalign_args.vgtest memalign_args.stderr.exp \
+               memalign_args.stderr.exp-glibc \
        memcmptest.stderr.exp memcmptest.stderr.exp2 \
        memcmptest.stdout.exp memcmptest.vgtest \
        memmem.stderr.exp memmem.vgtest \
diff --git a/memcheck/tests/memalign_args.stderr.exp-glibc b/memcheck/tests/memalign_args.stderr.exp-glibc
new file mode 100644 (file)
index 0000000..8106196
--- /dev/null
@@ -0,0 +1,15 @@
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: memalign (vg_replace_malloc.c:...)
+   by 0x........: main (memalign_args.c:19)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: posix_memalign (vg_replace_malloc.c:...)
+   by 0x........: main (memalign_args.c:23)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: memalign (vg_replace_malloc.c:...)
+   by 0x........: main (memalign_args.c:26)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: valloc (vg_replace_malloc.c:...)
+   by 0x........: main (memalign_args.c:29)