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

Issue 5684002: Refactoring in preparation for microdump processing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by mmandlis
Modified:
9 years, 8 months ago
Reviewers:
primiano, Mark Mentovai
CC:
starodub_chromium.org, benm_chromium.org
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Extract DumpContext base class from MinidumpContext

This is a pure refactoring in preparation of the Microdump(s)
(which will be introduced by later CL). No behavioral change is
intended.
This change removes the MinidumpContext -> MinidumpStream
inheritance (which is not actually needed as MinidumpContexts
are never stored to streams) and extracts a base class
(DumpContext) out of it.
Similarly, ProcessResult is moved out to its own class.

BUG=https://code.google.com/p/chromium/issues/detail?id=410294

Patch Set 1 #

Patch Set 2 : Get rid of MinidumpContext and clean up code. #

Patch Set 3 : Revert mistakenly changed aclocal.m4 #

Patch Set 4 : Restore MinidumpContext, but derive it from DumpContext #

Patch Set 5 : Revert unnecessary changes #

Patch Set 6 : cleanup #

Total comments: 25

Patch Set 7 : Address code review comments. #

Patch Set 8 : Argh, revert aclocal.m4 again; and add some blank line around namespaces. #

Total comments: 4

Patch Set 9 : Remove redundant blank lines; add Makefile.in updates #

Patch Set 10 : Fix sort order in Makefile.am #

Patch Set 11 : More alpha sorting fixes in Makefile.am #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M Makefile.am View 1 2 3 4 5 6 7 8 9 10 8 chunks +17 lines, -0 lines 0 comments Download
M Makefile.in View 1 2 3 4 5 6 7 8 9 10 23 chunks +81 lines, -2 lines 0 comments Download
A src/google_breakpad/processor/dump_context.h View 1 2 3 4 5 6 7 8 1 chunk +112 lines, -0 lines 0 comments Download
A src/google_breakpad/processor/dump_object.h View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
M src/google_breakpad/processor/memory_region.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M src/google_breakpad/processor/minidump.h View 1 2 3 4 5 6 7 8 6 chunks +20 lines, -66 lines 0 comments Download
M src/google_breakpad/processor/minidump_processor.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -35 lines 0 comments Download
A src/google_breakpad/processor/process_result.h View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
M src/google_breakpad/processor/process_state.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/google_breakpad/processor/stackwalker.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/processor/basic_source_line_resolver_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M src/processor/cfi_frame_info_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A src/processor/dump_context.cc View 1 2 3 4 5 6 7 8 1 chunk +605 lines, -0 lines 0 comments Download
A src/processor/dump_object.cc View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
M src/processor/fast_source_line_resolver_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M src/processor/minidump.cc View 1 2 3 4 5 6 7 8 14 chunks +23 lines, -547 lines 0 comments Download
M src/processor/minidump_processor_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M src/processor/postfix_evaluator_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M src/processor/stackwalker.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/processor/stackwalker_selftest.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -6 lines 0 comments Download
M src/processor/stackwalker_unittest_utils.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M src/tools/mac/crash_report/crash_report.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16
mmandlis
Primiano, This is the refactoring CL, as suggested in https://breakpad.appspot.com/9674002/ I replied to your comments ...
9 years, 8 months ago #1
primiano
On 2014/08/29 15:18:52, mmandlis wrote: > Primiano, > > This is the refactoring CL, as ...
9 years, 8 months ago #2
mmandlis
I was optimistic and did option 1. I think it is even cleaner now, when ...
9 years, 8 months ago #3
primiano
Many thanks Maria. Sorry for the three iterations but this now looks much more clean ...
9 years, 8 months ago #4
mmandlis
Addressed (and really enjoyed))) your comments, could you, please, make another quick pass? There is ...
9 years, 8 months ago #5
primiano
Still LGTM % micro-nits You seem to have added some extra spacing between namespace { ...
9 years, 8 months ago #6
primiano
CC: +benm If you want to take a look to the bigger picture, the original ...
9 years, 8 months ago #7
primiano
Ah, in addition, I think you should also regenerate the Makefile.in here. IIRC you are ...
9 years, 8 months ago #8
mmandlis
Addressed comments, submitting shortly. Thanks! https://breakpad.appspot.com/5684002/diff/920002/Makefile.am File Makefile.am (right): https://breakpad.appspot.com/5684002/diff/920002/Makefile.am#newcode687 Makefile.am:687: src/processor/dump_object.o \ On 2014/09/03 ...
9 years, 8 months ago #9
primiano
Hmm this has landed as https://code.google.com/p/google-breakpad/source/detail?r=1370 Please mark this CL as closed. Note: something went ...
9 years, 8 months ago #10
Mark Mentovai
I can edit svn commit messages. Unlike git, this can be done without screwing history ...
9 years, 8 months ago #11
primiano
On 2014/09/09 13:08:58, Mark Mentovai wrote: > I can edit svn commit messages. Unlike git, ...
9 years, 8 months ago #12
Mark Mentovai
OK, fixed it up.
9 years, 8 months ago #13
mmandlis
On 2014/09/09 13:44:50, Mark Mentovai wrote: > OK, fixed it up. Mark, thanks a lot ...
9 years, 8 months ago #14
Mark Mentovai
svn propedit --revprop -r 1370 svn:log but I don’t know if you have permission to ...
9 years, 8 months ago #15
primiano
9 years, 8 months ago #16
Message was sent while issue was closed.
Change committed as r1370

https://code.google.com/p/google-breakpad/source/detail?r=1370
Sign in to reply to this message.

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