Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: Update breakpad/crashpad to 2021-12-03 #614

Merged
merged 5 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# Changelog

## Unreleased

**Features**

- Add client-side stackwalking on Linux, Windows, and macOS (disabled by default).

## 0.4.12

**Features**:

- Make the shutdown timeout configurable via `sentry_options_set_shutdown_timeout`.

**Internal**:

- Update Crashpad and Breakpad submodules to 2021-12-03.

**Fixes**:

- The crashpad backend compiles with mingw again.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The SDK supports different features on the target platform:
have the `curl` library available. On other platforms, library users need to
implement their own transport, based on the `function transport` API.
- **Crashpad Backend** is currently only supported on Linux, Windows and macOS.
- **Client-side stackwalking** is currently only supported on Linux, Windows, and macOS.

## Building and Installation

Expand Down Expand Up @@ -265,6 +266,11 @@ Legend:
Sets the sentry-native projects folder name for generators which support project hierarchy (like Microsoft Visual Studio).
To use this feature you need to enable hierarchy via [`USE_FOLDERS` property](https://cmake.org/cmake/help/latest/prop_gbl/USE_FOLDERS.html)

- `CRASHPAD_ENABLE_STACKTRACE` (Default: OFF):
This enables client-side stackwalking when using the crashpad backend. Stack unwinding will happen on the client's machine
and the result will be submitted to Sentry attached to the generated minidump.
Note that this feature is still experimental.

### Build Targets

- `sentry`: This is the main library and the only default build target.
Expand Down
2 changes: 1 addition & 1 deletion external/breakpad
Submodule breakpad updated 75 files
+0 −17 .github/mistaken-pull-closer.yml
+73 −0 .github/workflows/build-test-ci.yml
+22 −0 .github/workflows/close-pull-request.yml
+44 −0 .github/workflows/coverity.yml
+0 −34 .travis.yml
+1 −1 DEPS
+13 −0 DIR_METADATA
+6 −6 Makefile.am
+8 −8 Makefile.in
+1 −1 README.md
+20 −20 configure
+11 −11 configure.ac
+1 −1 default.xml
+0 −70 scripts/travis-build.sh
+0 −24 scripts/travis-checkout.sh
+8 −0 src/client/ios/Breakpad.xcodeproj/project.pbxproj
+1 −1 src/client/linux/handler/exception_handler.cc
+6 −5 src/client/mac/Framework/OnDemandServer.mm
+6 −3 src/common/dwarf/dwarf2diehandler.h
+1 −1 src/common/dwarf/dwarf2reader.cc
+291 −132 src/common/dwarf_cu_to_module.cc
+10 −2 src/common/dwarf_cu_to_module.h
+13 −11 src/common/dwarf_cu_to_module_unittest.cc
+2 −2 src/common/dwarf_line_to_module.cc
+8 −5 src/common/dwarf_line_to_module.h
+38 −19 src/common/dwarf_line_to_module_unittest.cc
+8 −7 src/common/language.cc
+66 −0 src/common/linux/breakpad_getcontext.S
+10 −5 src/common/linux/dump_symbols.cc
+6 −1 src/common/mac/arch_utilities.cc
+10 −6 src/common/mac/dump_syms.cc
+123 −3 src/common/module.cc
+106 −3 src/common/module.h
+2 −1 src/common/module_unittest.cc
+2 −1 src/common/stabs_to_module.cc
+3 −3 src/common/stabs_to_module_unittest.cc
+114 −0 src/common/string_view.h
+2 −2 src/common/windows/http_upload.cc
+3 −1 src/google_breakpad/common/minidump_exception_mac.h
+17 −10 src/google_breakpad/processor/basic_source_line_resolver.h
+2 −0 src/google_breakpad/processor/fast_source_line_resolver.h
+2 −1 src/google_breakpad/processor/source_line_resolver_base.h
+2 −1 src/google_breakpad/processor/source_line_resolver_interface.h
+2 −1 src/google_breakpad/processor/stack_frame_symbolizer.h
+142 −72 src/processor/basic_source_line_resolver.cc
+19 −19 src/processor/basic_source_line_resolver_types.h
+136 −38 src/processor/basic_source_line_resolver_unittest.cc
+23 −5 src/processor/contained_range_map-inl.h
+23 −5 src/processor/contained_range_map.h
+152 −35 src/processor/contained_range_map_unittest.cc
+0 −4 src/processor/exploitability_linux.cc
+0 −1 src/processor/exploitability_win.cc
+70 −5 src/processor/fast_source_line_resolver.cc
+80 −18 src/processor/fast_source_line_resolver_types.h
+102 −0 src/processor/fast_source_line_resolver_unittest.cc
+38 −34 src/processor/minidump.cc
+3 −0 src/processor/minidump_processor.cc
+23 −0 src/processor/minidump_processor_unittest.cc
+12 −4 src/processor/module_serializer.cc
+2 −0 src/processor/module_serializer.h
+111 −2 src/processor/simple_serializer-inl.h
+1 −1 src/processor/source_line_resolver_base.cc
+22 −15 src/processor/source_line_resolver_base_types.h
+1 −1 src/processor/stack_frame_symbolizer.cc
+1 −1 src/processor/stackwalk_common.cc
+5 −4 src/processor/stackwalker.cc
+17 −0 src/processor/static_contained_range_map-inl.h
+6 −0 src/processor/static_contained_range_map.h
+19 −0 src/processor/static_contained_range_map_unittest.cc
+71 −0 src/processor/testdata/symbols/linux_inline/BBA6FA10B8AAB33D00000000000000000/linux_inline.new.sym
+0 −0 src/processor/testdata/symbols/linux_inline/BBA6FA10B8AAB33D00000000000000000/linux_inline.old.sym
+ src/processor/testdata/tiny-exe-with-cet-xsave.dmp
+6 −2 src/tools/linux/dump_syms/dump_syms.cc
+2 −3 src/tools/linux/md2core/minidump-2-core.cc
+9 −3 src/tools/mac/dump_syms/dump_syms_tool.cc
2 changes: 1 addition & 1 deletion external/crashpad
Submodule crashpad updated 488 files