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

Issue 1049023003: Add ExcServerCopyState() (Closed)

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

Description

Add ExcServerCopyState(). ExcServerCopyState() properly sets the new_state and new_state_count out-parameters for exception handler routines that may deal with state-carrying exceptions. This used to exist inline in catch_exception_tool, but that implementation had a bug caught by the new test. TEST=crashpad_util_test ExcServerVariants.ExcServerCopyState and others R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/352160906b96c28289db2235022d872d69a8a370

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -9 lines) Patch
M client/simulate_crash_mac_test.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M handler/mac/crash_report_exception_handler.cc View 2 chunks +12 lines, -2 lines 0 comments Download
M tools/mac/catch_exception_tool.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M util/mach/exc_server_variants.h View 1 chunk +37 lines, -0 lines 0 comments Download
M util/mach/exc_server_variants.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M util/mach/exc_server_variants_test.cc View 1 2 chunks +77 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Mark Mentovai
5 years, 8 months ago (2015-03-30 21:57:54 UTC) #2
Robert Sesek
https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h File util/mach/exc_server_variants.h (right): https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h#newcode234 util/mach/exc_server_variants.h:234: const natural_t* old_state, Why use natural_t here instead of ...
5 years, 8 months ago (2015-03-31 23:03:31 UTC) #3
Mark Mentovai
Updated. https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h File util/mach/exc_server_variants.h (right): https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h#newcode234 util/mach/exc_server_variants.h:234: const natural_t* old_state, Robert Sesek wrote: > Why ...
5 years, 8 months ago (2015-03-31 23:13:24 UTC) #4
Robert Sesek
LGTM https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h File util/mach/exc_server_variants.h (right): https://codereview.chromium.org/1049023003/diff/1/util/mach/exc_server_variants.h#newcode234 util/mach/exc_server_variants.h:234: const natural_t* old_state, On 2015/03/31 23:13:23, Mark Mentovai ...
5 years, 8 months ago (2015-04-01 16:07:00 UTC) #5
Mark Mentovai
5 years, 8 months ago (2015-04-01 16:16:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
352160906b96c28289db2235022d872d69a8a370 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698