diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 17:53:14 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 17:53:14 +0000 |
commit | 44e780297e2c5ba8705c3c6c8d9ca5ea392c3a4c (patch) | |
tree | 180b368bdfc737458fb1d94ed7beb101413f5ff0 /tools/valgrind/chrome_tests.py | |
parent | 18305dec20e5e99a7e36aaf0d624edc3cbccdab8 (diff) | |
download | chromium_src-44e780297e2c5ba8705c3c6c8d9ca5ea392c3a4c.zip chromium_src-44e780297e2c5ba8705c3c6c8d9ca5ea392c3a4c.tar.gz chromium_src-44e780297e2c5ba8705c3c6c8d9ca5ea392c3a4c.tar.bz2 |
Support --track_origins option.
Review URL: http://codereview.chromium.org/53119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index 0383cf45..42c90ba 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -134,6 +134,8 @@ class ChromeTests: cmd.append("--verbose") if self._options.show_all_leaks: cmd.append("--show_all_leaks") + if self._options.track_origins: + cmd.append("--track_origins") if self._options.generate_suppressions: cmd.append("--generate_suppressions") if exe == "ui_tests": @@ -360,6 +362,9 @@ def _main(_): parser.add_option("", "--show_all_leaks", action="store_true", default=False, help="also show even less blatant leaks") + parser.add_option("", "--track_origins", action="store_true", + default=False, + help="Show whence uninit bytes came. 30% slower.") parser.add_option("", "--no-reinstrument", action="store_true", default=False, help="Don't force a re-instrumentation for ui_tests") parser.add_option("", "--generate_suppressions", action="store_true", |