diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 21:30:11 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-08 21:30:11 +0000 |
commit | 342508e43bd18155fd892f38d26086024844b84f (patch) | |
tree | 3d67fc70e566bcef6de6ce1b53087e8a70249e36 /tools/valgrind/valgrind.sh | |
parent | 955c37b9e82a42ef09c8858bd1ab13f924881036 (diff) | |
download | chromium_src-342508e43bd18155fd892f38d26086024844b84f.zip chromium_src-342508e43bd18155fd892f38d26086024844b84f.tar.gz chromium_src-342508e43bd18155fd892f38d26086024844b84f.tar.bz2 |
Use NSS_DISABLE_UNLOAD in valgrind and heapcheck scripts to avoid unsymbolized backtraces.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7003046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/valgrind.sh')
-rwxr-xr-x | tools/valgrind/valgrind.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/valgrind/valgrind.sh b/tools/valgrind/valgrind.sh index 2bff755..c7252a2 100755 --- a/tools/valgrind/valgrind.sh +++ b/tools/valgrind/valgrind.sh @@ -91,6 +91,8 @@ export VALGRIND_LIB="$CHROME_VALGRIND/lib/valgrind" export VALGRIND_LIB_INNER="$CHROME_VALGRIND/lib/valgrind" # G_SLICE=always-malloc: make glib use system malloc +# NSS_DISABLE_UNLOAD=1: make nss skip dlclosing dynamically loaded modules, +# which would result in "obj:*" in backtraces. # NSS_DISABLE_ARENA_FREE_LIST=1: make nss use system malloc # G_DEBUG=fatal_warnings: make GTK abort on any critical or warning assertions. # If it crashes on you in the Options menu, you hit bug 19751, @@ -103,6 +105,7 @@ export VALGRIND_LIB_INNER="$CHROME_VALGRIND/lib/valgrind" # to ignore possible but not definite leaks. G_SLICE=always-malloc \ +NSS_DISABLE_UNLOAD=1 \ NSS_DISABLE_ARENA_FREE_LIST=1 \ G_DEBUG=fatal_warnings \ GTEST_DEATH_TEST_USE_FORK=1 \ |