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

Issue 1120383003: Get generate_dump compiling on Windows (Closed)

Created:
5 years, 7 months ago by scottmg
Modified:
5 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@tools
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Get generate_dump compiling on Windows Sort of works in that the process is opened, modules retrieved, etc. but eventually CHECKs due to missing functionality in snapshot. Follows https://codereview.chromium.org/1119783005/. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/ff52791faf302cf95c860ee13dd9ea637a7775a9

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix os type in sysinfo #

Total comments: 10

Patch Set 3 : wip #

Patch Set 4 : generalize entry point #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : argv[argc] #

Patch Set 9 : . #

Total comments: 20

Patch Set 10 : fixes #

Total comments: 10

Patch Set 11 : rebase #

Patch Set 12 : fix rebase, stringpiece #

Patch Set 13 : fixes #

Patch Set 14 : really fix rebase #

Patch Set 15 : fix mac; no implicit conversion to std::string for StringPiece #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -68 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M compat/win/sys/types.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M minidump/minidump_system_info_writer.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/crashpad_database_util.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +8 lines, -23 lines 0 comments Download
M tools/generate_dump.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +58 lines, -13 lines 0 comments Download
M tools/tool_support.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +20 lines, -0 lines 0 comments Download
M tools/tool_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +31 lines, -0 lines 0 comments Download
M tools/tools.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +30 lines, -26 lines 0 comments Download
M util/win/process_info.cc View 1 2 3 4 5 11 12 13 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
scottmg
https://codereview.chromium.org/1120383003/diff/1/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1120383003/diff/1/util/win/process_info.cc#newcode262 util/win/process_info.cc:262: process_id_ = static_cast<DWORD>(process_basic_information.UniqueProcessId); Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/aa384203%28v=vs.85%29.aspx on 32 bit being ...
5 years, 7 months ago (2015-05-04 18:38:03 UTC) #2
Mark Mentovai
https://codereview.chromium.org/1120383003/diff/40001/tools/crashpad_database_util.cc File tools/crashpad_database_util.cc (left): https://codereview.chromium.org/1120383003/diff/40001/tools/crashpad_database_util.cc#oldcode53 tools/crashpad_database_util.cc:53: std::string Basename(const std::string& path) { I’m skipping this for ...
5 years, 7 months ago (2015-05-04 21:21:59 UTC) #3
scottmg
(Should have probably merged these two CLs, oh well.) https://codereview.chromium.org/1120383003/diff/40001/util/file/basename.h File util/file/basename.h (right): https://codereview.chromium.org/1120383003/diff/40001/util/file/basename.h#newcode22 util/file/basename.h:22: ...
5 years, 7 months ago (2015-05-04 23:30:07 UTC) #4
scottmg
Rebased on the database_util tool, and generalizes some of the string handling into ToolSupport now ...
5 years, 7 months ago (2015-05-05 19:26:23 UTC) #5
Mark Mentovai
https://codereview.chromium.org/1120383003/diff/40001/tools/generate_dump.cc File tools/generate_dump.cc (right): https://codereview.chromium.org/1120383003/diff/40001/tools/generate_dump.cc#newcode130 tools/generate_dump.cc:130: #if defined(OS_MACOSX) scottmg wrote: > OK. It seems that ...
5 years, 7 months ago (2015-05-05 22:41:36 UTC) #6
scottmg
https://codereview.chromium.org/1120383003/diff/180001/compat/win/sys/types.h File compat/win/sys/types.h (right): https://codereview.chromium.org/1120383003/diff/180001/compat/win/sys/types.h#newcode25 compat/win/sys/types.h:25: typedef unsigned int pid_t; On 2015/05/05 22:41:35, Mark Mentovai ...
5 years, 7 months ago (2015-05-05 23:23:53 UTC) #7
Mark Mentovai
LGTM https://codereview.chromium.org/1120383003/diff/180001/tools/generate_dump.cc File tools/generate_dump.cc (right): https://codereview.chromium.org/1120383003/diff/180001/tools/generate_dump.cc#newcode129 tools/generate_dump.cc:129: argv[0]); On 2015/05/05 23:23:52, scottmg wrote: > On ...
5 years, 7 months ago (2015-05-06 04:44:16 UTC) #8
scottmg
https://codereview.chromium.org/1120383003/diff/180001/tools/generate_dump.cc File tools/generate_dump.cc (right): https://codereview.chromium.org/1120383003/diff/180001/tools/generate_dump.cc#newcode129 tools/generate_dump.cc:129: argv[0]); On 2015/05/06 04:44:15, Mark Mentovai wrote: > On ...
5 years, 7 months ago (2015-05-06 18:02:19 UTC) #9
Mark Mentovai
LGTM!
5 years, 7 months ago (2015-05-06 18:05:15 UTC) #10
scottmg
5 years, 7 months ago (2015-05-06 18:09:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #15 (id:300001) manually as
ff52791faf302cf95c860ee13dd9ea637a7775a9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698