Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(997)

Issue 432863006: Add MinidumpFileWriter (Closed)

Created:
6 years, 4 months ago by Mark Mentovai
Modified:
6 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add MinidumpFileWriter and its test. MinidumpFileWriter writes the top-level object to a minidump file. This consists of a MINIDUMP_HEADER and a list of MINIDUMP_DIRECTORY entries that point to streams, which are second-level objects in minidump files. This change also adds the base class for stream writers, MinidumpStreamWriter. TEST=minidump_test MinidumpFileWriter* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/859560f70dd9

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address review feedback. Add MinidumpFileWriter test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+603 lines, -1 line) Patch
M minidump/minidump.gyp View 1 2 chunks +5 lines, -0 lines 0 comments Download
M minidump/minidump_extensions.h View 1 1 chunk +1 line, -1 line 0 comments Download
A minidump/minidump_file_writer.h View 1 1 chunk +87 lines, -0 lines 0 comments Download
A minidump/minidump_file_writer.cc View 1 1 chunk +161 lines, -0 lines 0 comments Download
A minidump/minidump_file_writer_test.cc View 1 1 chunk +238 lines, -0 lines 2 comments Download
A minidump/minidump_stream_writer.h View 1 1 chunk +65 lines, -0 lines 0 comments Download
A minidump/minidump_stream_writer.cc View 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mark Mentovai
6 years, 4 months ago (2014-08-01 20:39:18 UTC) #1
Robert Sesek
Are there no tests for this piece yet because more pieces are necessary do test ...
6 years, 4 months ago (2014-08-03 15:19:59 UTC) #2
Mark Mentovai
rsesek wrote: > Are there no tests for this piece yet because more pieces are ...
6 years, 4 months ago (2014-08-03 20:14:10 UTC) #3
Robert Sesek
LGTM. Nice test. https://codereview.chromium.org/432863006/diff/1/minidump/minidump_file_writer.cc File minidump/minidump_file_writer.cc (right): https://codereview.chromium.org/432863006/diff/1/minidump/minidump_file_writer.cc#newcode121 minidump/minidump_file_writer.cc:121: std::vector<MinidumpWritable*> children; On 2014/08/03 20:14:10, Mark ...
6 years, 4 months ago (2014-08-03 21:20:55 UTC) #4
Mark Mentovai
Thanks for all of the reviews! https://codereview.chromium.org/432863006/diff/1/minidump/minidump_file_writer.h File minidump/minidump_file_writer.h (right): https://codereview.chromium.org/432863006/diff/1/minidump/minidump_file_writer.h#newcode71 minidump/minidump_file_writer.h:71: virtual std::vector<MinidumpWritable*> Children() ...
6 years, 4 months ago (2014-08-03 22:45:55 UTC) #5
Mark Mentovai
6 years, 4 months ago (2014-08-03 22:47:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as 859560f70dd9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698