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

Issue 567283002: Add exc_client_variants (UniversalRaiseException()) and its test (Closed)

Created:
6 years, 3 months ago by Mark Mentovai
Modified:
6 years, 3 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 exc_client_variants (UniversalExceptionRaise()) and its test. This also puts kMachExceptionCodes into mach_extensions.h, because a form of MACH_EXCEPTION_CODES that’s the right type (exception_behavior_t) has now shown its use in more than one file. TEST=util_test ExcClientVariants.UniversalExceptionRaise R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/1e7cdb30a04ced7cca62b6da3ac3a26a9ba981f2

Patch Set 1 #

Patch Set 2 : Rename to stay closer to the names traditionally used by Mach #

Total comments: 3

Patch Set 3 : Address review feedback #

Patch Set 4 : Put MachThreadSelf in mach_extensions.{cc,h} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -29 lines) Patch
M util/mac/process_reader_test.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
A util/mach/exc_client_variants.h View 1 2 1 chunk +83 lines, -0 lines 0 comments Download
A util/mach/exc_client_variants.cc View 1 1 chunk +130 lines, -0 lines 0 comments Download
A util/mach/exc_client_variants_test.cc View 1 2 3 1 chunk +288 lines, -0 lines 0 comments Download
M util/mach/exc_server_variants_test.cc View 16 chunks +30 lines, -27 lines 0 comments Download
M util/mach/mach_extensions.h View 1 2 3 2 chunks +28 lines, -0 lines 0 comments Download
A util/mach/mach_extensions.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A util/mach/mach_extensions_test.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M util/util.gyp View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Mark Mentovai
6 years, 3 months ago (2014-09-14 22:02:16 UTC) #2
Robert Sesek
https://codereview.chromium.org/567283002/diff/20001/util/mach/exc_client_variants.h File util/mach/exc_client_variants.h (right): https://codereview.chromium.org/567283002/diff/20001/util/mach/exc_client_variants.h#newcode62 util/mach/exc_client_variants.h:62: //! order to be passed to the appropriate exception ...
6 years, 3 months ago (2014-09-15 20:55:44 UTC) #3
Mark Mentovai
All feedback addressed. What do you think of this handling of MachThreadSelf()? Would you prefer ...
6 years, 3 months ago (2014-09-15 21:53:02 UTC) #4
Robert Sesek
LGTM On 2014/09/15 21:53:02, Mark Mentovai wrote: > All feedback addressed. What do you think ...
6 years, 3 months ago (2014-09-15 23:17:55 UTC) #5
Mark Mentovai
I’m going with mach_extensions.h.
6 years, 3 months ago (2014-09-16 13:47:45 UTC) #6
Mark Mentovai
6 years, 3 months ago (2014-09-16 13:48:07 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 1e7cdb3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698