Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: tools/valgrind/valgrind_test.py

Issue 894503002: Disable warnings about unaddressable prefetches in Dr. Memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Runs an exe through Valgrind and puts the intermediate files in a 5 """Runs an exe through Valgrind and puts the intermediate files in a
6 directory. 6 directory.
7 """ 7 """
8 8
9 import datetime 9 import datetime
10 import glob 10 import glob
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 705
706 # Un-comment to disable interleaved output. Will also suppress error 706 # Un-comment to disable interleaved output. Will also suppress error
707 # messages normally printed to stderr. 707 # messages normally printed to stderr.
708 #proc += ["-quiet", "-no_results_to_stderr"] 708 #proc += ["-quiet", "-no_results_to_stderr"]
709 709
710 proc += ["-callstack_max_frames", "40"] 710 proc += ["-callstack_max_frames", "40"]
711 711
712 # disable leak scan for now 712 # disable leak scan for now
713 proc += ["-no_count_leaks", "-no_leak_scan"] 713 proc += ["-no_count_leaks", "-no_leak_scan"]
714 714
715 # disable warnings about unaddressable prefetches
716 proc += ["-no_check_prefetch"]
717
715 # crbug.com/413215, no heap mismatch check for Windows release build binary 718 # crbug.com/413215, no heap mismatch check for Windows release build binary
716 if common.IsWindows() and "Release" in self._options.build_dir: 719 if common.IsWindows() and "Release" in self._options.build_dir:
717 proc += ["-no_check_delete_mismatch"] 720 proc += ["-no_check_delete_mismatch"]
718 721
719 # make callstacks easier to read 722 # make callstacks easier to read
720 proc += ["-callstack_srcfile_prefix", 723 proc += ["-callstack_srcfile_prefix",
721 "build\\src,chromium\\src,crt_build\\self_x86"] 724 "build\\src,chromium\\src,crt_build\\self_x86"]
722 proc += ["-callstack_modname_hide", 725 proc += ["-callstack_modname_hide",
723 "*drmemory*,chrome.dll"] 726 "*drmemory*,chrome.dll"]
724 727
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 return DrMemory(False, True) 825 return DrMemory(False, True)
823 try: 826 try:
824 platform_name = common.PlatformNames()[0] 827 platform_name = common.PlatformNames()[0]
825 except common.NotImplementedError: 828 except common.NotImplementedError:
826 platform_name = sys.platform + "(Unknown)" 829 platform_name = sys.platform + "(Unknown)"
827 raise RuntimeError, "Unknown tool (tool=%s, platform=%s)" % (tool_name, 830 raise RuntimeError, "Unknown tool (tool=%s, platform=%s)" % (tool_name,
828 platform_name) 831 platform_name)
829 832
830 def CreateTool(tool): 833 def CreateTool(tool):
831 return ToolFactory().Create(tool) 834 return ToolFactory().Create(tool)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698