gecko-dev/config
Gabriele Svelto aa43fa218e Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro
This changes comes with several different refactorings all rolled into one,
unfotunately I couldn't find a way to pull them apart:
- First of all annotations now can either recorded (that is, we copy the value
  and have the crash reporting code own the copy) or registered. Several
  annotations are changed to use this functionality so that we don't need to
  update them as their value change.
- The code in the exception handler is modified to read the annotations from
  the mozannotation_client crate. This has the unfortunate side-effect that
  we need three different bits of code to serialize them: one for annotations
  read from a child process, one for reading annotations from the main process
  outside of the exception handler and one for reading annotations from the
  main process within the exception handler. As we move to fully
  out-of-process crash reporting the last two methods will go away.
- The mozannotation_client crate now doesn't record annotation types anymore.
  I realized as I was working on this that storing types at runtime has two
  issues: the first one is that buggy code might change the type of an
  annotation (that is record it under two different types at two different
  moments), the second issue is that types might become corrupt during a
  crash, so better enforce them at annotation-writing time. The end result is
  that the mozannotation_* crates now only store byte buffers, track the
  format the data is stored in (null-terminated string, fixed size buffer,
  etc...) but not the type of data each annotation is supposed to contain.
- Which brings us to the next change: concrete types for annotations are now
  enforced when they're written out. If an annotation doesn't match the
  expected type it's skipped. Storing an annotation with the wrong type will
  also trigger an assertion in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D195248
2024-03-04 10:24:43 +00:00
..
external Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
faster
makefiles Bug 1834947 - Divert xcrun so that it outputs the build system's chosen iOS SDK. r=firefox-build-system-reviewers,nalexander 2024-02-29 00:59:09 +00:00
mozunit Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato 2023-09-06 16:14:30 +00:00
tests Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
AB_rCD.mk
Makefile.in
MozZipFile.py
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk Bug 1862463 - Remove references to building Thunderbird with a mozilla/ subdirectory. r=firefox-build-system-reviewers,sergesanspaille 2023-11-07 14:58:59 +00:00
check_js_msg_encoding.py
check_js_opcode.py
check_macroassembler_style.py Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium 2024-02-02 20:52:24 +00:00
check_source_count.py
check_spidermonkey_style.py Bug 1877193 part 1 - Make JS prefs in StaticPrefList.yaml available in SpiderMonkey. r=mgaudet,KrisWright 2024-02-06 12:51:27 +00:00
check_vanilla_allocations.py Bug 1790873 - Move printf_stderr() to mozglue so it can be used within js/src r=glandium,nika 2024-01-11 02:09:30 +00:00
config.mk Bug 1839832 - Use PGO-based orderfile when possible r=glandium 2023-12-18 10:20:33 +00:00
create_rc.py Backed out changeset 344524bd7c75 (bug 1872242) for causing bug 1879519 CLOSED TREE 2024-02-15 23:04:14 +02:00
create_res.py Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
createprecomplete.py Bug 1882322 - Prevent macOS channel frameworks from being in precomplete file r=jcristau 2024-02-29 08:23:07 +00:00
emptyvars-js.mk.in
emptyvars.mk.in
gcc-stl-wrapper.template.h Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden 2023-04-26 02:44:12 +00:00
gcc_hidden.h
install.bat
make-stl-wrappers.py Bug 1828577 - Properly set *-stl-wrapper.template.h as an input to the make-stl-wrappers script. r=firefox-build-system-reviewers,ahochheiden 2023-04-20 21:49:03 +00:00
make-system-wrappers.py
make-windows-h-wrapper.py
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-02-19 09:55:58 +00:00
moz.build Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
msvc-stl-wrapper.template.h Bug 1848746 - Avoid problems when <exception> is included before <new>. r=firefox-build-system-reviewers,ahochheiden 2023-08-15 20:11:14 +00:00
nsinstall.c Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
nsinstall.py
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py
rebuild_check.py
recurse.mk Bug 1861509 - Don't try to build gkrust-gtest before gkrust. r=firefox-build-system-reviewers,ahochheiden 2023-10-27 00:09:06 +00:00
rules.mk Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
run-and-prefix.py
run_spidermonkey_checks.py
shlwapi-h-constant.decls.h Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika 2023-01-26 22:21:04 +00:00
shlwapi-h-unicode.decls.h Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika 2023-01-26 22:21:04 +00:00
shlwapi-h-wrapper.template.h Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika 2023-01-26 22:21:04 +00:00
static-checking-config.mk
stl-headers.mozbuild Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
system-headers.mozbuild Bug 1879873 - Remove MOZ_LIBAV_FFT. r=karlt 2024-02-28 12:50:26 +00:00
wasm2c.py Bug 1848908 - Force the module name used with wasm2c. r=firefox-build-system-reviewers,ahochheiden 2023-08-23 19:06:03 +00:00
windows-h-constant.decls.h
windows-h-unicode.decls.h
windows-h-wrapper.template.h Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika 2023-01-26 22:21:04 +00:00