Index: tools/valgrind/valgrind_test.py |
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py |
index 9f132c8414a7272f423a7cb62b742ac13a7dd60d..0ca3c605cd89dbe4d68d3f7a42575da64a2d417a 100644 |
--- a/tools/valgrind/valgrind_test.py |
+++ b/tools/valgrind/valgrind_test.py |
@@ -719,6 +719,12 @@ class DrMemory(BaseTool): |
if common.IsWindows() and "Release" in self._options.build_dir: |
proc += ["-no_check_delete_mismatch"] |
+ # We are seeing false positive invalid heap args on 64-bit, so we are |
+ # disabling the feature for now (xref |
+ # https://github.com/DynamoRIO/drmemory/issues/1839). |
+ if common.IsWindows() and "Release_x64" in self._options.build_dir: |
+ proc += ["-no_check_heap_mismatch"] |
+ |
# make callstacks easier to read |
proc += ["-callstack_srcfile_prefix", |
"build\\src,chromium\\src,crt_build\\self_x86"] |