gecko-dev/build
Mike Hommey 8b091c97fd Bug 1464522 - Count static initializers from the crash reporter symbol files. r=froydnj
The crash reporter symbol files are the easiest cross-platform way to
find static initializers. While some types of static initializers (e.g.
__attribute__(constructor) functions) don't appear there in a notable
way, the static initializers we do care the most about for tracking do
(static initializers from C++ globals). As a matter of fact, there is
only a difference of 2 compared to the currently reported count of 125
on a linux64 build, so this is a good enough approximation. And allows
us to easily track the count on Android, OSX and Windows builds, which
we currently don't do.

The tricky part is that the symbol files are in
dist/crashreporter-symbols/$lib/$fileid/$lib.sym, and $fileid is hard to
figure out. There is a `fileid` tool in testing/tools, but it is a
target binary, meaning it's not available on cross builds (OSX,
Android).

So the simplest is just to gather the data while creating the symbol
files, which unfortunately requires to go through some hoops to make it
happen for just the files we care about.

--HG--
extra : rebase_source : 458fed1ffd6f9294eefef61f10ff7a284af0d986
2018-05-29 08:48:47 +09:00
..
autoconf Bug 1457162 Include CFLAGS and CPPFLAGS during the EXPAND_LIBS_LIST_STYLE check r=froydnj,ted 2018-04-26 14:44:00 +00:00
build-clang bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
clang-plugin bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
compare-mozconfig bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
debian-packages Bug 1460451 - Add /usr/bin/python3 to Debian images; r=glandium 2018-05-09 19:54:21 -07:00
docs Backed out 10 changesets (bug 1446809) for failures in testing/mozbase/moztest/tests/test.py on a CLOSED TREE 2018-03-20 17:00:04 +02:00
macosx Bug 1429056 - Wrap llvm-dsymutil calls on automation. r=ted 2018-01-19 10:20:41 +09:00
mobile Bug 1464866 - Fix a typo in Android time-out message; r=me,a=test-only 2018-05-28 11:29:34 -06:00
moz.configure Bug 1464809 - Disable -Werror on -Wclass-memaccess until the backlog is fixed r=froydnj 2018-05-28 14:56:41 +02:00
package/mac_osx
pgo bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
pymake
sanitizers Change the sanitizer blacklist files to use *nix line endings. No bug, r=lumpy 2018-03-06 15:17:55 -08:00
sparse-profiles Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal 2018-05-09 21:57:36 +02:00
tests/cram Bug 1411462 - Abort when I/O error seen; r=glandium 2017-11-09 20:44:10 -08:00
unix bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
valgrind bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
win32 bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
win64 Bug 1459026: Make Windows ASan builds use lld-link. r=froydnj 2018-05-04 14:53:04 -04:00
.gdbinit_python.in Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.lldbinit.in
__init__.py
appini_header.py Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
application.ini.in
automation.py.in Bug 1451159 - [testing/profiles] Store profile data in actual profile look alike folders r=gbrown 2018-04-19 16:12:26 -04:00
binary-location.mk
buildconfig.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
cargo-linker Bug 1418598 - Make cargo-linker properly handle quoted strings in MOZ_CARGO_WRAP_LD and MOZ_CARGO_WRAP_LDFLAGS. r=ted 2017-11-18 20:24:12 +09:00
checksums.py Bug 1455143 - Refactor checksumming to occur after upload.py; r=ted 2018-04-18 16:24:03 -07:00
defines.sh
dumbmake-dependencies Bug 1363061 - Rename toolkit/components/jsdownloads to toolkit/components/downloads. r=mak 2018-03-06 17:40:59 +00:00
gecko_templates.mozbuild Bug 1423802 - Remove the dummy fallible library. r=nalexander 2017-12-07 12:16:50 +09:00
gen_automation.py Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal 2018-04-30 11:08:59 -07:00
gen_test_backend.py
gen_test_packages_manifest.py Bug 1455872 - Build support for the new raptor performance framework; r=gps 2018-05-02 16:42:41 -04:00
genrc.sh
gn.mozbuild Backed out 5 changesets (bug 1393119) for bustage on linux in /builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers/alsa/asoundlib.h:3:15: alsa/asoundlib.h missing on a CLOSED TREE 2018-01-24 13:00:42 +02:00
gyp.mozbuild Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:38 +01:00
gyp_base.mozbuild Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
mach_bootstrap.py Bug 1455570 - Build and publish TPS add-on; r=dustin,ted 2018-04-23 14:32:05 +01:00
moz-automation.mk Bug 1455120 - Prefix output from automation tiers; r=mshal 2018-04-18 14:30:05 -07:00
moz.build Bug 1372381 - Generate automation.py with GENERATED_FILES rather than Makefile.in r=mshal 2018-04-30 11:08:59 -07:00
mozconfig.artifact Bug 1373150 - Disable compile environment on l10n builds. r=Callek 2017-06-15 15:06:45 +09:00
mozconfig.artifact.automation Bug 1412057 - Do not attempt to enable the clang plugin in mozconfigs during artifact builds on try. r=nalexander 2017-10-26 13:04:54 -07:00
mozconfig.automation Backed out 2 changesets (bug 1436662) for build bustages on /installer/windows. CLOSED TREE 2018-04-17 19:08:21 +03:00
mozconfig.cache Bug 1426788 - Don't fall back to ccache when sccache is not enabled. r=gps 2017-12-22 10:08:40 +09:00
mozconfig.clang-cl
mozconfig.comm-support Bug 1410475: Add support for detecting whether c-c is topdir in mozconfigs; r=mshal 2017-10-19 13:56:13 -06:00
mozconfig.common Bug 1382502 - Include mozconfig.cache in most cases. r=ted 2017-07-20 11:07:53 +09:00
mozconfig.common.override
mozconfig.lld-link Bug 1444429: Add a build/mozconfig.lld-link for automation. r=froydnj DONTBUILD 2018-03-09 12:25:58 -05:00
mozconfig.no-compile Bug 1457524 followup - Unset RUSTDOC for no-compile environment and add it to mozconfigs. 2018-05-05 11:04:07 +10:00
mozconfig.rust Bug 1457524 part 3 - Check rustdoc for rust tests. r=froydnj 2018-05-02 20:02:04 +10:00
mozconfig.stylo Bug 1384258 - Build Stylo by default. r=chmanchester 2017-07-25 14:29:52 -07:00
mozconfig.vs-common
mozconfig.win-common Backed out 2 changesets (bug 1436662) for build bustages on /installer/windows. CLOSED TREE 2018-04-17 19:08:21 +03:00
qemu-wrap
rebuild-backend.mk
subconfigure.py Bug 1463921 - Re-run js configure when js/src/old-configure changes. r=gps 2018-05-23 17:22:09 -07:00
submit_telemetry_data.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
telemetry-schema.json
templates.mozbuild Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted 2018-05-22 20:36:39 -07:00
test_templates.mozbuild
update-settings.ini
upload.py Bug 1455127 - Remove --package from upload.py; r=ted 2018-04-19 09:31:00 -07:00
upload_generated_sources.py Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester 2017-10-07 16:45:22 +02:00
variables.py Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
virtualenv_packages.txt Bug 1458700: [python] Vendor attrs; r=dustin,ted 2018-05-02 19:39:38 -06:00
windows_toolchain.py Bug 1424281 - Use Visual Studio 2017 15.6.0 for Windows builds. r=froydnj 2018-03-12 19:24:44 -04:00