mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-25 22:30:49 +08:00
Mark Mentovai
50faaf111e
Revert "Don't redefine macros from base/compiler_specific.h."
This reverts commit 458bdec9852280f091a72f9d90eb75f04d0af05f. Reason for revert: Crashpad roll into Chrommium failed. https://chromium-review.googlesource.com/c/5805903 https://ci.chromium.org/ui/p/chromium/builders/try/android-x64-rel/171929/ https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8738938901079891665/+/u/compile__with_patch_/stdout While linking libcrashpad_handler_trampoline.so: ``` ld.lld: error: undefined symbol: std::__Cr::__libcpp_verbose_abort(char const*, ...) >>> referenced by ascii.cc >>> obj/third_party/abseil-cpp/absl/strings/strings/ascii.o:(std::__Cr::__throw_out_of_range(char const*)) >>> referenced by lightweight_quarantine.cc >>> allocator_core/lightweight_quarantine.o:(partition_alloc::internal::LightweightQuarantineBranch::~LightweightQuarantineBranch()) in archive obj/base/allocator/partition_allocator/src/partition_alloc/liballocator_core.a >>> referenced by lightweight_quarantine.cc >>> allocator_core/lightweight_quarantine.o:(partition_alloc::internal::LightweightQuarantineBranch::Purge()) in archive obj/base/allocator/partition_allocator/src/partition_alloc/liballocator_core.a >>> referenced 1 more times […] ld.lld: error: undefined symbol: std::get_new_handler() […] ld.lld: error: undefined symbol: _Unwind_Backtrace […] ld.lld: error: undefined symbol: _Unwind_GetIP […] ld.lld: error: undefined symbol: __cxa_guard_acquire […] ld.lld: error: undefined symbol: __cxa_guard_release […] clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` Original change's description: > Don't redefine macros from base/compiler_specific.h. > > `DISABLE_CFI_ICALL` is already defined in that header; use it. > > This is both simpler and less likely to trigger macro redefinition > errors. > > Bug: none > Change-Id: I3ecfe9b6dc4ac42c6a69b3fd9c6d2c68fe8e62a2 > Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5805458 > Reviewed-by: Mark Mentovai <mark@chromium.org> Bug: none Change-Id: Ie225e03e07ab3d0a00933217b377cee14fcdb8b7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5806223 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Crashpad
Crashpad is a crash-reporting system.
Documentation
- Project status
- Developing Crashpad: instructions for getting the source code, building, testing, and contributing to the project.
- Crashpad interface documentation
- Crashpad tool man pages
- Crashpad overview design
Source Code
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.
Other Links
- Bugs can be reported at the Crashpad issue tracker.
- The Crashpad bots perform automated builds and tests.
- crashpad-dev is the Crashpad developers’ mailing list.
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%