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

Side by Side Diff: tools/valgrind/valgrind.sh

Issue 4375001: Hotfix Valgrind scripts to use the --show-possibly-lost option... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This is a small script for manually launching valgrind, along with passing 7 # This is a small script for manually launching valgrind, along with passing
8 # it the suppression file, and some helpful arguments (automatically attaching 8 # it the suppression file, and some helpful arguments (automatically attaching
9 # the debugger on failures, etc). Run it from your repo root, something like: 9 # the debugger on failures, etc). Run it from your repo root, something like:
10 # $ sh ./tools/valgrind/valgrind.sh ./sconsbuild/Debug/chrome 10 # $ sh ./tools/valgrind/valgrind.sh ./sconsbuild/Debug/chrome
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 # G_SLICE=always-malloc: make glib use system malloc 91 # G_SLICE=always-malloc: make glib use system malloc
92 # NSS_DISABLE_ARENA_FREE_LIST=1: make nss use system malloc 92 # NSS_DISABLE_ARENA_FREE_LIST=1: make nss use system malloc
93 # G_DEBUG=fatal_warnings: make GTK abort on any critical or warning assertions. 93 # G_DEBUG=fatal_warnings: make GTK abort on any critical or warning assertions.
94 # If it crashes on you in the Options menu, you hit bug 19751, 94 # If it crashes on you in the Options menu, you hit bug 19751,
95 # comment out the G_DEBUG=fatal_warnings line. 95 # comment out the G_DEBUG=fatal_warnings line.
96 # 96 #
97 # GTEST_DEATH_TEST_USE_FORK=1: make gtest death tests valgrind-friendly 97 # GTEST_DEATH_TEST_USE_FORK=1: make gtest death tests valgrind-friendly
98 # 98 #
99 # When everyone has the latest valgrind, we might want to add 99 # When everyone has the latest valgrind, we might want to add
100 # --show-possible=no 100 # --show-possibly-lost=no
101 # to ignore possible but not definite leaks. 101 # to ignore possible but not definite leaks.
102 102
103 G_SLICE=always-malloc \ 103 G_SLICE=always-malloc \
104 NSS_DISABLE_ARENA_FREE_LIST=1 \ 104 NSS_DISABLE_ARENA_FREE_LIST=1 \
105 G_DEBUG=fatal_warnings \ 105 G_DEBUG=fatal_warnings \
106 GTEST_DEATH_TEST_USE_FORK=1 \ 106 GTEST_DEATH_TEST_USE_FORK=1 \
107 $RUN_COMMAND \ 107 $RUN_COMMAND \
108 --trace-children=yes \ 108 --trace-children=yes \
109 --suppressions="$SUPPRESSIONS" \ 109 --suppressions="$SUPPRESSIONS" \
110 "${DEFAULT_TOOL_FLAGS[@]}" \ 110 "${DEFAULT_TOOL_FLAGS[@]}" \
111 "$@" 111 "$@"
OLDNEW
« no previous file with comments | « no previous file | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698