summaryrefslogtreecommitdiffstats
path: root/third_party/crashpad/README.chromium
blob: 3bb727b312f4636f1eaf8ae625e42ccaae0cc5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: Crashpad
Short Name: crashpad
URL: https://crashpad.chromium.org/
Version: unknown
Revision: c307f94f19cb7983ee585e9569875f1981fecde6
License: Apache 2.0
License File: crashpad/LICENSE
Security Critical: yes

Description:
Crashpad is a crash-reporting system. It’s the successor to Breakpad.

Crashpad’s authoritative upstream repository is
https://chromium.googlesource.com/crashpad/crashpad.

Because Crashpad depends on some Chromium code (notably base and build), it is
acceptable to make changes to this in-Chromium copy of Crashpad in order to
conform to interface changes in Chromium. These changes must be noted in the
“local modifications” section below, and should also be reflected in the
authoritative Crashpad repository as soon as practical.

Substantive development must occur in the authoritative Crashpad repository. If
this type of work is done in the in-Chromium copy, it will be obliterated the
next time Crashpad is imported into Chromium.

To update the in-Chromium copy of Crashpad, run update.py, located in this
directory.

To carry changes made in Chromium to Crashpad, run:
$ cd "${THIS_DIR}"
$ mkdir /tmp/patchdir
$ git format-patch -1 --binary --output-directory=/tmp/patchdir/cur "${HASH}" \
      --add-header="Message-Id: Merged from chromium ${HASH}" -- crashpad/
$ cd "${CRASHPAD_DIR}"
$ git am --3way --message-id -p4 /tmp/patchdir

Local Modifications:
- Move bit_cast from base/macros.h to its own header.
- Replace base/template_util.h with C++11 type_traits.
- Add std::is_same into compat/non_cxx11_lib/type_traits.