]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Clear vbits after the test is done.
authorEyal Soha <eyalsoha@gmail.com>
Mon, 30 Oct 2023 16:46:38 +0000 (10:46 -0600)
committerMark Wielaard <mark@klomp.org>
Mon, 30 Oct 2023 22:09:38 +0000 (23:09 +0100)
https://bugs.kde.org/show_bug.cgi?id=417993

NEWS
memcheck/tests/vbit-test/valgrind.c

diff --git a/NEWS b/NEWS
index 33da44e6361c1a53eb086b7af8a868c030755a7b..8791694e53cdacc7a770bd0eb712fb34ac942cf9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -56,8 +56,11 @@ than mailing the developers (or mailing lists) directly -- bugs that
 are not entered into bugzilla tend to get forgotten about or ignored.
 
 390871  ELF debug info reader confused with multiple .rodata* sections
-426751  Valgrind reports "still reachable" memory using musl (alpine running inside docker)
-432801  Valgrind 3.16.1 reports a jump based on uninitialized memory somehow related to clang and signals
+417993  vbit-test fail on s390x with Iop_Add32: spurious dependency on uninit
+426751  Valgrind reports "still reachable" memory using musl
+        (alpine running inside docker)
+432801  Valgrind 3.16.1 reports a jump based on uninitialized memory somehow
+        related to clang and signals
 433857  Add validation to C++17 aligned new/delete alignment size
 433859  Add mismatched detection to C++ 17 aligned new/delete
 460192  Add epoll_pwait2
index 2597be8bc7b0d052b3e4f08951fb059e6f09fb26..c24a06d649c754bb8d2e79ae51dee9549d44e723 100644 (file)
@@ -138,4 +138,9 @@ valgrind_execute_test(const irop_t *op, test_data_t *data)
       print_opnd(stdout, &data->result);
       printf("\n");
    }
+
+   // Now that we have the vbits recorded, clear all the vbits.
+   for (i = 0; i < num_operands; ++i) {
+      VALGRIND_MAKE_MEM_DEFINED(&data->opnds[i].value, sizeof(data->opnds[i].value));
+   }
 }