summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-08 12:40:38 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-08 12:40:38 +0000
commit581c3b2b88e0f13f3e44717b2acafec11d2c7b2c (patch)
tree2becb15017b43263cf67f4e129e68284845bc20b /tools/heapcheck
parent51de45f0a9ec68e04c667048de06a531018c85bb (diff)
downloadchromium_src-581c3b2b88e0f13f3e44717b2acafec11d2c7b2c.zip
chromium_src-581c3b2b88e0f13f3e44717b2acafec11d2c7b2c.tar.gz
chromium_src-581c3b2b88e0f13f3e44717b2acafec11d2c7b2c.tar.bz2
Preload the debug version of libstdc++.so before running the tests.
This should help to get better stacks for the leaks of objects allocated within libstdc++. TBR=willchan Review URL: http://codereview.chromium.org/574028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck')
-rw-r--r--tools/heapcheck/heapcheck_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py
index f071435..b1c6b16 100644
--- a/tools/heapcheck/heapcheck_test.py
+++ b/tools/heapcheck/heapcheck_test.py
@@ -49,6 +49,7 @@ class HeapcheckWrapper(object):
self.PutEnvAndLog('PPROF_PATH',
google.path_utils.ScriptDir() +
'/../../third_party/tcmalloc/chromium/src/pprof')
+ self.PutEnvAndLog('LD_PRELOAD', '/usr/lib/debug/libstdc++.so')
common.RunSubprocess(proc, self._timeout)