diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 14:26:19 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-29 14:26:19 +0000 |
commit | ccc6c392f6b7e0cae9166041fb48cc2d43c1e83e (patch) | |
tree | 758a8776d1a6165eb37e93f938e750a6fdc8a5b4 /tools | |
parent | ab2983f291cfbb4858a6b8a7484d17b4816066f2 (diff) | |
download | chromium_src-ccc6c392f6b7e0cae9166041fb48cc2d43c1e83e.zip chromium_src-ccc6c392f6b7e0cae9166041fb48cc2d43c1e83e.tar.gz chromium_src-ccc6c392f6b7e0cae9166041fb48cc2d43c1e83e.tar.bz2 |
Don't skip the <not in a module> frames while printing the Dr. Memory reports
TBR=bruening
Review URL: http://codereview.chromium.org/7474017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/valgrind/drmemory_analyze.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/valgrind/drmemory_analyze.py b/tools/valgrind/drmemory_analyze.py index 4742b3c..c2b257c 100755 --- a/tools/valgrind/drmemory_analyze.py +++ b/tools/valgrind/drmemory_analyze.py @@ -78,12 +78,11 @@ class DrMemoryAnalyze: match_binary_fname = re.search("0x[0-9a-fA-F]+ <(.*)> .*!([^+]*)" "(?:\+0x[0-9a-fA-F]+)?\n", tmp_line) - self.ReadLine() - match_src_line = re.search("\s*(.*):([0-9]+)(?:\+0x[0-9a-fA-F]+)?", - self.line_) - if match_src_line: + if match_binary_fname: self.ReadLine() - if match_binary_fname: + match_src_line = re.search("\s*(.*):([0-9]+)(?:\+0x[0-9a-fA-F]+)?", + self.line_) + if match_src_line: binary, fname = match_binary_fname.groups() if re.search(CUT_STACK_BELOW, fname): break @@ -102,6 +101,13 @@ class DrMemoryAnalyze: report_line += ":%i" % int(lineno) result.append(report_line + "\n") cnt = cnt + 1 + else: + match_other = re.search("0x[0-9a-fA-F]+ (<.*>)(.*)\n", tmp_line) + if match_other: + module, other = match_other.groups() + result.append(" #%2i %-50s %s\n" % (cnt, module, other)) + cnt = cnt + 1 + self.ReadLine() return result def ParseReportFile(self, filename): |