diff --git a/DEPS b/DEPS index eb9df6ad..38b79a36 100644 --- a/DEPS +++ b/DEPS @@ -42,7 +42,7 @@ deps = { '7bde79cc274d06451bf65ae82c012a5d3e476b5a', 'crashpad/third_party/mini_chromium/mini_chromium': Var('chromium_git') + '/chromium/mini_chromium@' + - '8ca5ea356cdb97913d62d379d503567a80d90726', + 'ae14a14ab4cea36db9c446741581d427a7fc7f89', 'crashpad/third_party/libfuzzer/src': Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' + 'fda403cf93ecb8792cb1d061564d89a6553ca020', diff --git a/client/prune_crash_reports.cc b/client/prune_crash_reports.cc index 8eed18d4..492d4662 100644 --- a/client/prune_crash_reports.cc +++ b/client/prune_crash_reports.cc @@ -21,6 +21,7 @@ #include #include "base/logging.h" +#include "base/notreached.h" #include "build/build_config.h" namespace crashpad { diff --git a/client/simple_address_range_bag.h b/client/simple_address_range_bag.h index d288303c..0a87a89b 100644 --- a/client/simple_address_range_bag.h +++ b/client/simple_address_range_bag.h @@ -20,6 +20,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "base/macros.h" #include "base/numerics/safe_conversions.h" diff --git a/client/simulate_crash_mac.cc b/client/simulate_crash_mac.cc index 43d05b81..8d6e8bd9 100644 --- a/client/simulate_crash_mac.cc +++ b/client/simulate_crash_mac.cc @@ -17,6 +17,7 @@ #include #include +#include "base/check_op.h" #include "base/logging.h" #include "base/mac/mach_logging.h" #include "base/mac/scoped_mach_port.h" diff --git a/handler/crash_report_upload_thread.cc b/handler/crash_report_upload_thread.cc index e144bddc..fd48e1b6 100644 --- a/handler/crash_report_upload_thread.cc +++ b/handler/crash_report_upload_thread.cc @@ -23,6 +23,7 @@ #include #include "base/logging.h" +#include "base/notreached.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" diff --git a/handler/win/hanging_program.cc b/handler/win/hanging_program.cc index f4e5b983..3fec43b2 100644 --- a/handler/win/hanging_program.cc +++ b/handler/win/hanging_program.cc @@ -17,6 +17,7 @@ #include "base/debug/alias.h" #include "base/logging.h" +#include "base/notreached.h" #include "base/stl_util.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" diff --git a/snapshot/capture_memory.cc b/snapshot/capture_memory.cc index a51626cc..7a1b2763 100644 --- a/snapshot/capture_memory.cc +++ b/snapshot/capture_memory.cc @@ -19,6 +19,7 @@ #include #include +#include "base/logging.h" #include "base/stl_util.h" #include "snapshot/memory_snapshot.h" diff --git a/snapshot/capture_memory.h b/snapshot/capture_memory.h index d6a3a6df..a134824c 100644 --- a/snapshot/capture_memory.h +++ b/snapshot/capture_memory.h @@ -19,6 +19,7 @@ #include +#include "base/macros.h" #include "snapshot/cpu_context.h" #include "util/numeric/checked_range.h" diff --git a/snapshot/linux/system_snapshot_linux.cc b/snapshot/linux/system_snapshot_linux.cc index 8564d3d4..a99da3e4 100644 --- a/snapshot/linux/system_snapshot_linux.cc +++ b/snapshot/linux/system_snapshot_linux.cc @@ -22,6 +22,7 @@ #include "base/files/file_path.h" #include "base/logging.h" +#include "base/notreached.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_piece.h" #include "base/strings/stringprintf.h" diff --git a/snapshot/mac/cpu_context_mac.cc b/snapshot/mac/cpu_context_mac.cc index 03893c40..6e2950a5 100644 --- a/snapshot/mac/cpu_context_mac.cc +++ b/snapshot/mac/cpu_context_mac.cc @@ -18,6 +18,7 @@ #include #include "base/logging.h" +#include "base/notreached.h" namespace crashpad { diff --git a/snapshot/mac/mach_o_image_symbol_table_reader.cc b/snapshot/mac/mach_o_image_symbol_table_reader.cc index cbdac402..bf72ac9c 100644 --- a/snapshot/mac/mach_o_image_symbol_table_reader.cc +++ b/snapshot/mac/mach_o_image_symbol_table_reader.cc @@ -21,6 +21,7 @@ #include #include +#include "base/logging.h" #include "base/strings/stringprintf.h" #include "util/mac/checked_mach_address_range.h" #include "util/process/process_memory_mac.h" diff --git a/snapshot/memory_snapshot.cc b/snapshot/memory_snapshot.cc index a4c8b038..c86fa48d 100644 --- a/snapshot/memory_snapshot.cc +++ b/snapshot/memory_snapshot.cc @@ -17,6 +17,7 @@ #include #include "base/format_macros.h" +#include "base/logging.h" #include "base/strings/stringprintf.h" #include "util/numeric/checked_range.h" diff --git a/snapshot/memory_snapshot_generic.h b/snapshot/memory_snapshot_generic.h index d8bc9ec7..6e50a585 100644 --- a/snapshot/memory_snapshot_generic.h +++ b/snapshot/memory_snapshot_generic.h @@ -18,6 +18,7 @@ #include #include +#include "base/logging.h" #include "base/macros.h" #include "base/numerics/safe_math.h" #include "snapshot/memory_snapshot.h" diff --git a/snapshot/minidump/minidump_context_converter.cc b/snapshot/minidump/minidump_context_converter.cc index 24d2585b..01cfc28e 100644 --- a/snapshot/minidump/minidump_context_converter.cc +++ b/snapshot/minidump/minidump_context_converter.cc @@ -16,6 +16,7 @@ #include +#include "base/logging.h" #include "base/stl_util.h" #include "minidump/minidump_context.h" diff --git a/snapshot/minidump/module_snapshot_minidump.cc b/snapshot/minidump/module_snapshot_minidump.cc index a316e83b..698f5357 100644 --- a/snapshot/minidump/module_snapshot_minidump.cc +++ b/snapshot/minidump/module_snapshot_minidump.cc @@ -18,6 +18,7 @@ #include #include "base/logging.h" +#include "base/notreached.h" #include "minidump/minidump_extensions.h" #include "snapshot/minidump/minidump_annotation_reader.h" #include "snapshot/minidump/minidump_simple_string_dictionary_reader.h" diff --git a/snapshot/minidump/process_snapshot_minidump.cc b/snapshot/minidump/process_snapshot_minidump.cc index 6a032f90..8dc55802 100644 --- a/snapshot/minidump/process_snapshot_minidump.cc +++ b/snapshot/minidump/process_snapshot_minidump.cc @@ -16,6 +16,8 @@ #include +#include "base/logging.h" +#include "base/notreached.h" #include "base/strings/utf_string_conversions.h" #include "minidump/minidump_extensions.h" #include "snapshot/memory_map_region_snapshot.h" diff --git a/snapshot/minidump/system_snapshot_minidump.cc b/snapshot/minidump/system_snapshot_minidump.cc index 06bae484..e4b1b032 100644 --- a/snapshot/minidump/system_snapshot_minidump.cc +++ b/snapshot/minidump/system_snapshot_minidump.cc @@ -14,6 +14,7 @@ #include "snapshot/minidump/system_snapshot_minidump.h" +#include "base/notreached.h" #include "snapshot/minidump/minidump_string_reader.h" namespace crashpad { diff --git a/snapshot/sanitized/process_snapshot_sanitized_test.cc b/snapshot/sanitized/process_snapshot_sanitized_test.cc index 5c5ff1a5..85e54023 100644 --- a/snapshot/sanitized/process_snapshot_sanitized_test.cc +++ b/snapshot/sanitized/process_snapshot_sanitized_test.cc @@ -15,6 +15,7 @@ #include "snapshot/sanitized/process_snapshot_sanitized.h" #include "base/macros.h" +#include "base/notreached.h" #include "build/build_config.h" #include "gtest/gtest.h" #include "test/multiprocess_exec.h" diff --git a/snapshot/sanitized/sanitization_information.cc b/snapshot/sanitized/sanitization_information.cc index ff376a39..5f7756f7 100644 --- a/snapshot/sanitized/sanitization_information.cc +++ b/snapshot/sanitized/sanitization_information.cc @@ -16,6 +16,7 @@ #include +#include "base/logging.h" #include "client/annotation.h" namespace crashpad { diff --git a/snapshot/win/exception_snapshot_win.cc b/snapshot/win/exception_snapshot_win.cc index 3413a403..5759652d 100644 --- a/snapshot/win/exception_snapshot_win.cc +++ b/snapshot/win/exception_snapshot_win.cc @@ -14,6 +14,7 @@ #include "snapshot/win/exception_snapshot_win.h" +#include "base/logging.h" #include "client/crashpad_client.h" #include "snapshot/capture_memory.h" #include "snapshot/memory_snapshot.h" diff --git a/snapshot/win/pe_image_annotations_reader.cc b/snapshot/win/pe_image_annotations_reader.cc index 058342db..8932e63b 100644 --- a/snapshot/win/pe_image_annotations_reader.cc +++ b/snapshot/win/pe_image_annotations_reader.cc @@ -17,6 +17,7 @@ #include #include +#include "base/logging.h" #include "base/stl_util.h" #include "base/strings/utf_string_conversions.h" #include "client/annotation.h" diff --git a/snapshot/win/system_snapshot_win.cc b/snapshot/win/system_snapshot_win.cc index f07c4f67..88cbc800 100644 --- a/snapshot/win/system_snapshot_win.cc +++ b/snapshot/win/system_snapshot_win.cc @@ -23,6 +23,7 @@ #include #include +#include "base/logging.h" #include "base/numerics/safe_conversions.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" diff --git a/test/linux/fake_ptrace_connection.cc b/test/linux/fake_ptrace_connection.cc index b03228a2..d5560454 100644 --- a/test/linux/fake_ptrace_connection.cc +++ b/test/linux/fake_ptrace_connection.cc @@ -16,6 +16,7 @@ #include +#include "base/notreached.h" #include "build/build_config.h" #include "gtest/gtest.h" #include "util/file/file_io.h" diff --git a/test/win/win_multiprocess_with_temp_dir.cc b/test/win/win_multiprocess_with_temp_dir.cc index ca1e01a5..1dfc1b13 100644 --- a/test/win/win_multiprocess_with_temp_dir.cc +++ b/test/win/win_multiprocess_with_temp_dir.cc @@ -16,6 +16,7 @@ #include +#include "base/logging.h" #include "test/errors.h" #include "util/process/process_id.h" #include "util/win/process_info.h" diff --git a/util/file/file_io.cc b/util/file/file_io.cc index 55a6c5f1..c1da6722 100644 --- a/util/file/file_io.cc +++ b/util/file/file_io.cc @@ -14,6 +14,7 @@ #include "util/file/file_io.h" +#include "base/check_op.h" #include "base/logging.h" #include "base/macros.h" #include "base/numerics/safe_conversions.h" diff --git a/util/file/file_io_posix.cc b/util/file/file_io_posix.cc index 91b252a0..001b2d97 100644 --- a/util/file/file_io_posix.cc +++ b/util/file/file_io_posix.cc @@ -26,6 +26,7 @@ #include "base/files/file_path.h" #include "base/logging.h" +#include "base/notreached.h" #include "base/posix/eintr_wrapper.h" #include "base/strings/stringprintf.h" #include "build/build_config.h" diff --git a/util/file/file_io_win.cc b/util/file/file_io_win.cc index 111a8da2..3d0d7772 100644 --- a/util/file/file_io_win.cc +++ b/util/file/file_io_win.cc @@ -19,6 +19,7 @@ #include "base/files/file_path.h" #include "base/logging.h" +#include "base/notreached.h" #include "base/strings/utf_string_conversions.h" namespace { diff --git a/util/file/output_stream_file_writer.cc b/util/file/output_stream_file_writer.cc index 1172019e..d55c0ad3 100644 --- a/util/file/output_stream_file_writer.cc +++ b/util/file/output_stream_file_writer.cc @@ -15,6 +15,7 @@ #include "util/file/output_stream_file_writer.h" #include "base/logging.h" +#include "base/notreached.h" #include "util/stream/output_stream_interface.h" namespace crashpad { diff --git a/util/linux/socket.cc b/util/linux/socket.cc index f56eacf6..f2ad9bd0 100644 --- a/util/linux/socket.cc +++ b/util/linux/socket.cc @@ -16,6 +16,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "base/posix/eintr_wrapper.h" #include "third_party/lss/lss.h" diff --git a/util/mach/child_port_handshake.cc b/util/mach/child_port_handshake.cc index 3ff9828b..601a58fe 100644 --- a/util/mach/child_port_handshake.cc +++ b/util/mach/child_port_handshake.cc @@ -26,9 +26,11 @@ #include #include +#include "base/check_op.h" #include "base/logging.h" #include "base/mac/mach_logging.h" #include "base/mac/scoped_mach_port.h" +#include "base/notreached.h" #include "base/posix/eintr_wrapper.h" #include "base/rand_util.h" #include "base/stl_util.h" diff --git a/util/mach/composite_mach_message_server.cc b/util/mach/composite_mach_message_server.cc index abbe5bcf..44afc355 100644 --- a/util/mach/composite_mach_message_server.cc +++ b/util/mach/composite_mach_message_server.cc @@ -15,6 +15,7 @@ #include "util/mach/composite_mach_message_server.h" #include +#include #include #include "base/logging.h" diff --git a/util/mach/exception_ports.cc b/util/mach/exception_ports.cc index 375d29e3..02fed19c 100644 --- a/util/mach/exception_ports.cc +++ b/util/mach/exception_ports.cc @@ -16,6 +16,7 @@ #include "base/logging.h" #include "base/mac/mach_logging.h" +#include "base/notreached.h" namespace crashpad { diff --git a/util/mach/exception_types.cc b/util/mach/exception_types.cc index e133cb9a..2a1f3c01 100644 --- a/util/mach/exception_types.cc +++ b/util/mach/exception_types.cc @@ -22,6 +22,7 @@ #include #include +#include "base/check_op.h" #include "base/logging.h" #include "base/mac/mach_logging.h" #include "util/mac/mac_util.h" diff --git a/util/mach/scoped_task_suspend.cc b/util/mach/scoped_task_suspend.cc index abca77e3..651cad25 100644 --- a/util/mach/scoped_task_suspend.cc +++ b/util/mach/scoped_task_suspend.cc @@ -14,6 +14,7 @@ #include "util/mach/scoped_task_suspend.h" +#include "base/check_op.h" #include "base/logging.h" #include "base/mac/mach_logging.h" diff --git a/util/misc/capture_context_broken.cc b/util/misc/capture_context_broken.cc index ab7a5974..ea6d0a0c 100644 --- a/util/misc/capture_context_broken.cc +++ b/util/misc/capture_context_broken.cc @@ -14,7 +14,9 @@ #include "util/misc/capture_context.h" -#include "base/logging.h" +#include + +#include "base/check.h" namespace crashpad { diff --git a/util/misc/clock_posix.cc b/util/misc/clock_posix.cc index 51c1406d..f0a24167 100644 --- a/util/misc/clock_posix.cc +++ b/util/misc/clock_posix.cc @@ -16,7 +16,9 @@ #include -#include "base/logging.h" +#include + +#include "base/check.h" #include "base/posix/eintr_wrapper.h" #include "build/build_config.h" diff --git a/util/misc/zlib.cc b/util/misc/zlib.cc index b26f9c90..1153bcbe 100644 --- a/util/misc/zlib.cc +++ b/util/misc/zlib.cc @@ -14,7 +14,9 @@ #include "util/misc/zlib.h" -#include "base/logging.h" +#include + +#include "base/check.h" #include "base/strings/stringprintf.h" #include "third_party/zlib/zlib_crashpad.h" diff --git a/util/numeric/checked_address_range.cc b/util/numeric/checked_address_range.cc index b2784fc0..c6c932d4 100644 --- a/util/numeric/checked_address_range.cc +++ b/util/numeric/checked_address_range.cc @@ -14,6 +14,7 @@ #include "util/numeric/checked_address_range.h" +#include "base/check_op.h" #include "base/format_macros.h" #include "base/strings/stringprintf.h" diff --git a/util/posix/double_fork_and_exec.cc b/util/posix/double_fork_and_exec.cc index e4ad9988..19604309 100644 --- a/util/posix/double_fork_and_exec.cc +++ b/util/posix/double_fork_and_exec.cc @@ -19,6 +19,7 @@ #include #include +#include "base/check_op.h" #include "base/logging.h" #include "base/posix/eintr_wrapper.h" #include "base/strings/stringprintf.h" diff --git a/util/posix/drop_privileges.cc b/util/posix/drop_privileges.cc index 884a411c..2dd2c214 100644 --- a/util/posix/drop_privileges.cc +++ b/util/posix/drop_privileges.cc @@ -14,7 +14,9 @@ #include -#include "base/logging.h" +#include + +#include "base/check_op.h" #include "build/build_config.h" namespace crashpad { diff --git a/util/posix/scoped_mmap.cc b/util/posix/scoped_mmap.cc index fbf47fae..c7a1dd27 100644 --- a/util/posix/scoped_mmap.cc +++ b/util/posix/scoped_mmap.cc @@ -18,6 +18,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "base/numerics/safe_conversions.h" #include "base/numerics/safe_math.h" diff --git a/util/posix/signals.cc b/util/posix/signals.cc index 53c10389..7dbe10eb 100644 --- a/util/posix/signals.cc +++ b/util/posix/signals.cc @@ -18,6 +18,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "base/stl_util.h" diff --git a/util/process/process_memory.cc b/util/process/process_memory.cc index 3125e6f3..b7b417ff 100644 --- a/util/process/process_memory.cc +++ b/util/process/process_memory.cc @@ -18,6 +18,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "util/numeric/safe_assignment.h" diff --git a/util/stream/base94_output_stream.cc b/util/stream/base94_output_stream.cc index a47d774b..7513578c 100644 --- a/util/stream/base94_output_stream.cc +++ b/util/stream/base94_output_stream.cc @@ -16,6 +16,7 @@ #include +#include "base/check.h" #include "base/logging.h" #include "base/numerics/safe_conversions.h" diff --git a/util/stream/log_output_stream.cc b/util/stream/log_output_stream.cc index e35bb3b3..24987cb5 100644 --- a/util/stream/log_output_stream.cc +++ b/util/stream/log_output_stream.cc @@ -18,6 +18,7 @@ #include +#include "base/check.h" #include "base/logging.h" #if defined(OS_ANDROID) diff --git a/util/synchronization/semaphore_mac.cc b/util/synchronization/semaphore_mac.cc index 4f3bf00a..f2ed0cc6 100644 --- a/util/synchronization/semaphore_mac.cc +++ b/util/synchronization/semaphore_mac.cc @@ -15,6 +15,7 @@ #include "util/synchronization/semaphore.h" #include +#include #include "base/logging.h" diff --git a/util/synchronization/semaphore_posix.cc b/util/synchronization/semaphore_posix.cc index 3875f3f4..ec5355d7 100644 --- a/util/synchronization/semaphore_posix.cc +++ b/util/synchronization/semaphore_posix.cc @@ -20,6 +20,7 @@ #include +#include "base/check_op.h" #include "base/logging.h" #include "base/posix/eintr_wrapper.h" #include "util/misc/time.h" diff --git a/util/synchronization/semaphore_win.cc b/util/synchronization/semaphore_win.cc index 2f26c237..ffa9fd06 100644 --- a/util/synchronization/semaphore_win.cc +++ b/util/synchronization/semaphore_win.cc @@ -16,6 +16,7 @@ #include #include +#include #include "base/logging.h" diff --git a/util/thread/thread_posix.cc b/util/thread/thread_posix.cc index 58a98747..fe50050c 100644 --- a/util/thread/thread_posix.cc +++ b/util/thread/thread_posix.cc @@ -16,7 +16,9 @@ #include -#include "base/logging.h" +#include + +#include "base/check.h" namespace crashpad { diff --git a/util/thread/thread_win.cc b/util/thread/thread_win.cc index 466dfa9b..0132856a 100644 --- a/util/thread/thread_win.cc +++ b/util/thread/thread_win.cc @@ -14,7 +14,9 @@ #include "util/thread/thread.h" -#include "base/logging.h" +#include + +#include "base/check.h" namespace crashpad { diff --git a/util/win/registration_protocol_win_test.cc b/util/win/registration_protocol_win_test.cc index 334d7d83..ecbea342 100644 --- a/util/win/registration_protocol_win_test.cc +++ b/util/win/registration_protocol_win_test.cc @@ -22,6 +22,7 @@ #include #include "base/logging.h" +#include "base/notreached.h" #include "base/strings/string16.h" #include "gtest/gtest.h" #include "test/errors.h" diff --git a/util/win/scoped_set_event.cc b/util/win/scoped_set_event.cc index 7fb16474..4a31cdf7 100644 --- a/util/win/scoped_set_event.cc +++ b/util/win/scoped_set_event.cc @@ -14,6 +14,7 @@ #include "util/win/scoped_set_event.h" +#include "base/check.h" #include "base/logging.h" namespace crashpad {