Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1280)

Issue 570002: Add explicit OMAP support to dump_syms. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by chrisha
Modified:
11 years, 4 months ago
Reviewers:
Siggi, Mark Mentovai
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Description

Add explicit OMAP support to dump_syms.

This CL adds new utilities to common/windows for handling OMAP information in
PDB files. It then augments PdbSourceLineWriter with explicit OMAP knowledge so
that symbolization will proceed more cleanly for images whose PDB files contain
OMAP information. This makes breakpad handle OMAPped symbol files as cleanly as
WinDbg.

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1167

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Addressed siggi's comment, more unittests. #

Total comments: 13

Patch Set 3 : Addressed siggi's final nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
A common/windows/common_windows.gyp View 2 1 chunk +87 lines, -0 lines 0 comments Download
A common/windows/dia_util.cc View 2 1 chunk +92 lines, -0 lines 0 comments Download
A common/windows/dia_util.h View 2 1 chunk +59 lines, -0 lines 0 comments Download
A common/windows/omap.cc View 1 2 1 chunk +694 lines, -0 lines 0 comments Download
A common/windows/omap.h View 2 1 chunk +72 lines, -0 lines 0 comments Download
A common/windows/omap_internal.h View 1 2 1 chunk +137 lines, -0 lines 0 comments Download
A common/windows/omap_unittest.cc View 1 2 1 chunk +330 lines, -0 lines 0 comments Download
M common/windows/pdb_source_line_writer.cc View 2 15 chunks +112 lines, -47 lines 0 comments Download
M common/windows/pdb_source_line_writer.h View 2 2 chunks +5 lines, -0 lines 0 comments Download
A tools/windows/dump_syms/dump_syms.gyp View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M tools/windows/dump_syms/dump_syms.vcproj View 2 4 chunks +21 lines, -1 line 0 comments Download
A tools/windows/dump_syms/dump_syms_unittest.cc View 1 2 1 chunk +202 lines, -0 lines 0 comments Download
M tools/windows/dump_syms/testdata/dump_syms_regtest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tools/windows/dump_syms/testdata/dump_syms_regtest.pdb View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/windows/dump_syms/testdata/dump_syms_regtest.sym View 1 2 1 chunk +2945 lines, -14097 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_reorder_bbs.pdb View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_reorder_bbs.sym View 1 2 1 chunk +6209 lines, -0 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_reorder_funcs.pdb View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_reorder_funcs.sym View 1 2 1 chunk +2945 lines, -0 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_stretched.pdb View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_stretched.sym View 1 2 1 chunk +3137 lines, -0 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_stretched_filled.pdb View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/windows/dump_syms/testdata/omap_stretched_filled.sym View 1 2 1 chunk +2945 lines, -0 lines 0 comments Download

Messages

Total messages: 9
chrisha
Sorry for the giant code dump. If people want I can cut this up into ...
11 years, 4 months ago #1
chrisha
(Now with actual specified reviewers!) Sorry for the giant code dump. If people want I ...
11 years, 4 months ago #2
Siggi
looks pretty good, though I didn't read much past the point where I got confused ...
11 years, 4 months ago #3
Mark Mentovai
This seems fine to me. I appreciated your description of OMAP in omap.cc.
11 years, 4 months ago #4
chrisha
Alright, a bunch of cleanup according to Siggi's comments and more unittests. I'll make another ...
11 years, 4 months ago #5
Siggi
lgtm with a couple of nits. https://breakpad.appspot.com/570002/diff/9001/common/windows/common_windows.gyp File common/windows/common_windows.gyp (right): https://breakpad.appspot.com/570002/diff/9001/common/windows/common_windows.gyp#newcode40 common/windows/common_windows.gyp:40: '$(VSInstallDir)\DIA SDK\include', This ...
11 years, 4 months ago #6
chrisha
Addressed siggi's nits. Waiting for a final approval for Mark. https://breakpad.appspot.com/570002/diff/9001/common/windows/common_windows.gyp File common/windows/common_windows.gyp (right): https://breakpad.appspot.com/570002/diff/9001/common/windows/common_windows.gyp#newcode40 ...
11 years, 4 months ago #7
Mark Mentovai
LGTM
11 years, 4 months ago #8
chrisha
11 years, 4 months ago #9
Thanks, committing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted