From 281fd34cfcbe9c6a4621a1091ef37a06c6edaacd Mon Sep 17 00:00:00 2001 From: "glider@chromium.org" Date: Tue, 23 Mar 2010 10:59:37 +0000 Subject: 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 --- tools/heapcheck/heapcheck_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1