diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 10:59:37 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 10:59:37 +0000 |
commit | 281fd34cfcbe9c6a4621a1091ef37a06c6edaacd (patch) | |
tree | 38f9b2a81126d879ba5ae48e86b4f92b743ab9a8 | |
parent | 25e728c951332bf5222aab045ba9771b98ba3c11 (diff) | |
download | chromium_src-281fd34cfcbe9c6a4621a1091ef37a06c6edaacd.zip chromium_src-281fd34cfcbe9c6a4621a1091ef37a06c6edaacd.tar.gz chromium_src-281fd34cfcbe9c6a4621a1091ef37a06c6edaacd.tar.bz2 |
Fixed the heapchecker log reader to accept log lines containing spaces in the
function names
(e.g. "0xdeadbeef void Foobar")
TBR=timurrrr
Review URL: http://codereview.chromium.org/1164006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42335 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | tools/heapcheck/heapcheck_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py index 42167a8..3a11d27 100644 --- a/tools/heapcheck/heapcheck_test.py +++ b/tools/heapcheck/heapcheck_test.py @@ -82,7 +82,7 @@ class HeapcheckWrapper(object): """ leak_report = re.compile( 'Leak of ([0-9]*) bytes in ([0-9]*) objects allocated from:') - stack_line = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]*\s*(\S*)') + stack_line = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]*\s*([^\n]*)') return_code = 0 # leak signature: [number of bytes, number of objects] cur_leak_signature = None |