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/heapcheck | |
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/heapcheck')
-rw-r--r-- | tools/heapcheck/heapcheck_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py index 2e86e81..7082f73 100644 --- a/tools/heapcheck/heapcheck_test.py +++ b/tools/heapcheck/heapcheck_test.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +# Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -44,6 +44,7 @@ class HeapcheckWrapper(object): proc += self._args self.PutEnvAndLog('G_SLICE', 'always-malloc') self.PutEnvAndLog('NSS_DISABLE_ARENA_FREE_LIST', '1') + self.PutEnvAndLog('NSS_DISABLE_UNLOAD', '1') self.PutEnvAndLog('GTEST_DEATH_TEST_USE_FORK', '1') self.PutEnvAndLog('HEAPCHECK', self._mode) self.PutEnvAndLog('HEAP_CHECK_MAX_LEAKS', '-1') |