daxpedda
e860f7f132
fix: Fix cross-compilation from Intel to Apple Silicon MacOS. ( #34 )
2021-03-01 10:23:00 +01:00
Arpad Borsos
cb520bd41f
remove conflicting gitignore of lss
2021-01-26 12:13:39 +01:00
Arpad Borsos
2820e97569
Merge pull request #33 from getsentry/meta/bump
...
Update crashpad to 2021-01-25
2021-01-25 12:21:27 +01:00
Arpad Borsos
ee06cb2b2d
hardcode chromeos_buildflags
2021-01-25 12:00:16 +01:00
Arpad Borsos
358403ca32
update submodule and sync build files
2021-01-25 11:39:50 +01:00
Arpad Borsos
0ec8761262
Merge branch 'master' into meta/bump
2021-01-25 11:28:47 +01:00
Jan Wilken Dörrie
9e96201002
Annotate memfd_create with __THROW
...
This change annotates memfd_create with __THROW, fixing a compilation
error when building crashpad in C++17 mode. This used to be a
consistency error with glibc >= 2.27, that always annotates memfd_create
with __THROW:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/bits/mman-shared.h#l51
Fixed: crashpad:339
Change-Id: Iab99e864f49dcfd9e0b445fd59a22c16bbe2a60b
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2643284
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org >
Reviewed-by: Mark Mentovai <mark@chromium.org >
2021-01-22 13:09:35 +00:00
Scott Graham
b858473d9c
compat: Remove unused deps
...
This is a rest-of-revert of
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1489795
that was part of a plan for future changes, but that hasn't happened
yet.
Bug: fuchsia:66116
Change-Id: Id4011ae1c081354026fbb80440ee71c824933419
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2641314
Commit-Queue: Scott Graham <scottmg@chromium.org >
Reviewed-by: Mark Mentovai <mark@chromium.org >
2021-01-21 01:09:43 +00:00
Scott Graham
2a777a4d4f
compat: Remove non-Mac dependency on third_party/xnu
...
It looks like this was planned for future changes that haven't happened
yet. Current users of the .def files explicitly reference them, so
compat currently doesn't require this dependency.
Bug: fuchsia:66116
Change-Id: I85404d17eac4a2aa3c2157fe3fc2a1421879996a
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2640725
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Scott Graham <scottmg@chromium.org >
2021-01-20 23:28:43 +00:00
Justin Cohen
2d2e46b2ac
ios: Fix iOS14 detection of _UIGestureEnvironmentUpdate sinkholes.
...
Change-Id: I3c3e46dc4bf3d321f555add137b3e436503f4195
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2429223
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Justin Cohen <justincohen@chromium.org >
2021-01-20 16:35:54 +00:00
Jan Wilken Dörrie
564d5f340f
[c16lcpy] Use std::char_traits<base::char16> in c16lcpy
...
This change replaces calls to the deprecated base::c16memcmp,
base::c16len and base::c16memcpy in favor of using static methods on
std::char_traits<base::char16> directly.
Bug: chromium:911896
Change-Id: I739410cf41a77da9d43e59513cace086f93f0c36
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2637704
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org >
2021-01-20 13:25:24 +00:00
daxpedda
3c9de32f2b
fix: Add missing flags for zlib compilation ( #22 )
2021-01-20 12:47:47 +01:00
Dangyi Liu
37dd8f83de
Fix compilation issue on arm64 with Debian's glibc 2.19
...
Fuchsia's glibc is derived from Debian so it's causing issues on
Fuchsia.
Change-Id: I46368eb08f7cc7338783f115869e5c761f35e465
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2630288
Reviewed-by: Joshua Peraza <jperaza@chromium.org >
Commit-Queue: Joshua Peraza <jperaza@chromium.org >
2021-01-14 23:15:05 +00:00
Joshua Peraza
0f70d9477e
Fix typo in build target
...
Change-Id: Id491e4fd8ae6b1a0010b7b1132ef8ac83040e1f3
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2626068
Reviewed-by: Mark Mentovai <mark@chromium.org >
Commit-Queue: Joshua Peraza <jperaza@chromium.org >
2021-01-12 23:13:53 +00:00
Joshua Peraza
2e066d2e56
Use chromeos buildflags
...
This CL upstreams changes made in chromium to use buildflags:
https://chromium-review.googlesource.com/c/chromium/src/+/2494261
https://chromium-review.googlesource.com/c/chromium/src/+/2594831
and alters the buildflags in handler_main.cc to allow LaCrOS to use
/sbin/crash_reporter
Bug: chromium:1159628
Change-Id: Iae9f39f9bc61106cb0056bee010ee7eaa7ac1713
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2622766
Commit-Queue: Joshua Peraza <jperaza@chromium.org >
Reviewed-by: Mark Mentovai <mark@chromium.org >
2021-01-12 22:22:03 +00:00
Siim Meerits
aeb8be5238
cmake: Install 'handler' and 'util' development header files. ( #32 )
2021-01-10 23:11:27 +01:00
Arpad Borsos
a26ad17363
cmake: Fix cross build from Mac x64 to Mac arm64 ( #31 )
...
Co-authored-by: Romain Roffé <rofferom@gmail.com >
2021-01-04 13:00:42 +01:00
Arpad Borsos
3fc9e71661
fix: Link to UIKit framework on iOS
2020-12-23 14:50:17 +01:00
Arpad Borsos
ce53f69736
fix: Empty CMake elseif
2020-12-23 14:25:36 +01:00
Arpad Borsos
6e92731a0a
Merge branch 'meta/bump' into getsentry
2020-12-21 21:00:54 +01:00
Arpad Borsos
4e58671318
meta: Update Crashpad to 2020-12-21 ( #29 )
2020-12-21 20:58:34 +01:00
Arpad Borsos
a89290f732
Merge branch 'master' into meta/bump
2020-12-21 14:02:20 +01:00
Eric Astor
cce6b30149
Optimize calls to std::string::find() and friends for a single char.
...
The character literal overload is more efficient.
Change-Id: Ia2ec863e3442b87d357c20f932f88e31d40e6524
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2596067
Reviewed-by: Joshua Peraza <jperaza@chromium.org >
Commit-Queue: Eric Astor <epastor@google.com >
2020-12-16 19:18:09 +00:00
Joshua Peraza
8bf3cdd977
linux: fix build breakage
...
2f7d40c4 Removed the last usage of ExpectTestModule() in
sanitized builds.
Change-Id: I6a894545f07b1c377f88820893c23a2296d74cc7
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2590205
Reviewed-by: Robert Sesek <rsesek@chromium.org >
Commit-Queue: Joshua Peraza <jperaza@chromium.org >
2020-12-14 19:13:18 +00:00
Braden Kell
44de18ca37
Fix instances of undefined behavior
...
This change removes several unaligned accesses, as well a null pointer
offset and an out of bounds array access.
Bug: fuchsia:46805
Change-Id: I0110d0b7faf672655d978894b868760eee7b2988
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2583025
Commit-Queue: Scott Graham <scottmg@chromium.org >
Reviewed-by: Scott Graham <scottmg@chromium.org >
2020-12-11 19:18:19 +00:00