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

Issue 1377963002: win: Add and use a custom CaptureContext() implementation (Closed)

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

Description

win: Add and use a custom CaptureContext() implementation RtlCaptureContext() is buggy and limited. BUG=crashpad:53 R=scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/c8592b847b99f7f8643c342999c3f8f4f1e9b2e8

Patch Set 1 #

Total comments: 4

Patch Set 2 : The custom asm rule isn't actually needed for x86_64 #

Patch Set 3 : Address review feedback #

Patch Set 4 : #

Patch Set 5 : Save a few instructions when saving segment registers on x86_64 #

Total comments: 2

Patch Set 6 : Address review feeback (2) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+819 lines, -42 lines) Patch
M client/capture_context_mac_test.cc View 5 chunks +36 lines, -36 lines 0 comments Download
M client/crashpad_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M client/simulate_crash_win.h View 1 chunk +2 lines, -1 line 0 comments Download
M snapshot/win/exception_snapshot_win_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M snapshot/win/process_reader_win.cc View 2 chunks +2 lines, -1 line 0 comments Download
M util/util.gyp View 1 2 chunks +11 lines, -0 lines 0 comments Download
M util/util_test.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A util/win/capture_context.h View 1 chunk +47 lines, -0 lines 0 comments Download
A util/win/capture_context.asm View 1 2 3 4 5 1 chunk +532 lines, -0 lines 0 comments Download
A util/win/capture_context_test.cc View 1 chunk +182 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Mark Mentovai
5 years, 2 months ago (2015-09-29 20:25:52 UTC) #2
scottmg
Great stuff! I stared at the asm for quite a while and LGTM. https://codereview.chromium.org/1377963002/diff/1/util/win/capture_context.asm File ...
5 years, 2 months ago (2015-09-29 21:58:41 UTC) #3
Mark Mentovai
Can you double-check at least the diffs from patch set 2 to make sure that ...
5 years, 2 months ago (2015-09-30 15:33:22 UTC) #5
scottmg
Much more readable (at the minor expense of the extra length of the definitions). I ...
5 years, 2 months ago (2015-09-30 17:33:38 UTC) #6
Mark Mentovai
5 years, 2 months ago (2015-09-30 18:10:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 (id:120001) manually as
c8592b847b99f7f8643c342999c3f8f4f1e9b2e8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698