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

Issue 883773005: win: Work towards getting 'minidump' to compile (Closed)

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

Description

win: Work towards getting 'minidump' to compile - dbghelp.h requires windows.h to be included before it (ick!). Add a stub one for non_win to make this work. - convert __attribute__ -> macro that can work work with MSVC; - a handful of narrowing casts. R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/429a3368d4762a4bf7925400d2db584983819437

Patch Set 1 #

Patch Set 2 : . #

Total comments: 16

Patch Set 3 : some fixes #

Patch Set 4 : fiddling with dbghelp #

Patch Set 5 : . #

Total comments: 1

Patch Set 6 : less ugly pack/align #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 10

Patch Set 9 : more mucking around #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -35 lines) Patch
M compat/compat.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A + compat/non_win/windows.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -10 lines 0 comments Download
A + compat/win/sys/time.h View 1 2 3 4 5 6 1 chunk +7 lines, -8 lines 0 comments Download
M compat/win/sys/types.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M minidump/minidump_context.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M minidump/minidump_context_writer.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M minidump/minidump_crashpad_info_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_exception_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_exception_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_extensions.h View 1 2 3 4 5 6 7 8 9 chunks +22 lines, -7 lines 0 comments Download
M minidump/minidump_file_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_file_writer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M minidump/minidump_file_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_memory_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_memory_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_misc_info_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_misc_info_writer.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M minidump/minidump_misc_info_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_module_crashpad_info_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_module_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_module_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_stream_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_string_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_string_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_system_info_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_system_info_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_thread_id_map.cc View 1 chunk +1 line, -1 line 0 comments Download
M minidump/minidump_thread_writer.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_thread_writer_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_writable.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/minidump_writer_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M minidump/test/minidump_file_writer_test_util.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_location_descriptor_list_test_util.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_memory_writer_test_util.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_rva_list_test_util.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_string_writer_test_util.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M minidump/test/minidump_writable_test_util.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
scottmg
It does not compile after this, but is much easier to parse the errors. Most ...
5 years, 10 months ago (2015-02-02 21:54:54 UTC) #1
Mark Mentovai
Whoa, that <windows.h> thing is nuts. No IWYU there… dbghelp.h disables C4200 for the structures ...
5 years, 10 months ago (2015-02-02 22:10:28 UTC) #2
scottmg
On 2015/02/02 22:10:28, Mark Mentovai wrote: > Whoa, that <windows.h> thing is nuts. No IWYU ...
5 years, 10 months ago (2015-02-02 22:18:38 UTC) #3
Mark Mentovai
That would definitely consolidate the ugliness. I had hoped to just be able to use ...
5 years, 10 months ago (2015-02-02 22:24:43 UTC) #4
scottmg
https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h File compat/win/sys/types.h (left): https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h#oldcode24 compat/win/sys/types.h:24: typedef _W64 int ssize_t; On 2015/02/02 22:10:28, Mark Mentovai ...
5 years, 10 months ago (2015-02-02 22:31:45 UTC) #5
Mark Mentovai
https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h File compat/win/sys/types.h (left): https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h#oldcode24 compat/win/sys/types.h:24: typedef _W64 int ssize_t; scottmg wrote: > On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 22:57:21 UTC) #7
scottmg
I made the macro change concurrent with your mail, so maybe take a look and ...
5 years, 10 months ago (2015-02-02 23:16:37 UTC) #8
Mark Mentovai
https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h File compat/win/sys/types.h (left): https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h#oldcode24 compat/win/sys/types.h:24: typedef _W64 int ssize_t; On 2015/02/02 23:16:37, scottmg wrote: ...
5 years, 10 months ago (2015-02-02 23:32:09 UTC) #9
scottmg
https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h File compat/win/sys/types.h (left): https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h#oldcode24 compat/win/sys/types.h:24: typedef _W64 int ssize_t; On 2015/02/02 23:32:08, Mark Mentovai ...
5 years, 10 months ago (2015-02-03 18:12:56 UTC) #10
Mark Mentovai
https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h File compat/win/sys/types.h (left): https://codereview.chromium.org/883773005/diff/20001/compat/win/sys/types.h#oldcode24 compat/win/sys/types.h:24: typedef _W64 int ssize_t; On 2015/02/03 18:12:56, scottmg wrote: ...
5 years, 10 months ago (2015-02-03 18:26:33 UTC) #11
scottmg
https://codereview.chromium.org/883773005/diff/160001/minidump/crashpad_dbghelp.h File minidump/crashpad_dbghelp.h (right): https://codereview.chromium.org/883773005/diff/160001/minidump/crashpad_dbghelp.h#newcode20 minidump/crashpad_dbghelp.h:20: // dbghelp.h requires windows.h to be included before it, ...
5 years, 10 months ago (2015-02-03 19:22:44 UTC) #12
Mark Mentovai
LGTM
5 years, 10 months ago (2015-02-03 19:31:22 UTC) #13
scottmg
5 years, 10 months ago (2015-02-05 01:30:08 UTC) #16
Message was sent while issue was closed.
Committed patchset #9 (id:180001) manually as
429a3368d4762a4bf7925400d2db584983819437 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698