|
Allow exception forwarding to the system’s native crash reporter to be
disabled.
ClientInfo::set_system_crash_reporter_forwarding() can be used to
disable forwarding. The first module that is found with a non-default
value in this field will dictate whether forwarding is enabled or
disabled. It is possible to enable or disable reporting with this call,
as well as reset it to default, which will allow later modules a chance
to influence the behavior.
ClientInfo::set_crashpad_handler_behavior() is also provided, which can
be used to disable Crashpad’s handling of the exception. Most users
should not call this, but should use Settings::SetUploadsEnabled()
instead.
TEST=crashpad_snapshot_test \
CrashpadInfoClientOptions.*:MachOImageReader.Self_DyldImages; \
run_with_crashpad --handler crashpad_handler \
-a --database=/tmp/crashpad_db \
-a --url=https://clients2.google.com/cr/staging_report \
-a --annotation=prod=crashpad \
-a --annotation=ver=0.7.0 \
crashy_program
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/9b7ff0ea5a329dbff41f2435f06f308fce3696f1
Total comments: 2
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+632 lines, -61 lines) |
Patch |
|
M |
client/crashpad_info.h
|
View
|
1
2
|
3 chunks |
+41 lines, -1 line |
0 comments
|
Download
|
|
M |
client/crashpad_info.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
handler/mac/crash_report_exception_handler.cc
|
View
|
1
2
|
2 chunks |
+42 lines, -34 lines |
0 comments
|
Download
|
|
A |
snapshot/mac/crashpad_info_client_options.h
|
View
|
1
2
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/mac/crashpad_info_client_options.cc
|
View
|
1
2
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/mac/crashpad_info_client_options_test.cc
|
View
|
1
2
|
1 chunk |
+205 lines, -0 lines |
0 comments
|
Download
|
|
A |
snapshot/mac/crashpad_info_client_options_test_module.cc
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/mach_o_image_annotations_reader.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/mach_o_image_annotations_reader.cc
|
View
|
1
|
2 chunks |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/mach_o_image_reader.h
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/mach_o_image_reader.cc
|
View
|
1
|
2 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/mach_o_image_reader_test.cc
|
View
|
1
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/module_snapshot_mac.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/module_snapshot_mac.cc
|
View
|
1
2
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/process_snapshot_mac.h
|
View
|
1
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/process_snapshot_mac.cc
|
View
|
1
2
|
2 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
|
M |
snapshot/mac/process_types/crashpad_info.proctype
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
snapshot/snapshot.gyp
|
View
|
1
|
3 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
util/misc/tri_state.h
|
View
|
1
2
3
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
util/util.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 13 (2 generated)
|