gecko-dev/toolkit/library
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
..
dummydll Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium 2017-05-01 18:12:35 -07:00
gtest Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya 2018-05-10 12:11:51 +12:00
rust Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya 2018-05-10 12:11:51 +12:00
StaticXULComponentsEnd Bug 1457295 Trick clang+lld+lto into ordering NSModules correctly also r=glandium 2018-04-27 09:29:37 -05:00
dependentlibs.py
gecko.natvis bug 1408502 - embed natvis info for Gecko types in our PDB files. r=froydnj 2018-03-14 14:07:15 -04:00
gen_symverscript.py Bug 1423815 - Move symverscript for libxul from libxul.mk to GENERATED_FILES. r=ted 2017-12-08 12:39:10 -08:00
libxul.mk Bug 1423815 - Move symverscript for libxul from libxul.mk to GENERATED_FILES. r=ted 2017-12-08 12:39:10 -08:00
libxul.so-gdb.py.in
Makefile.in Bug 1464522 - Count static initializers from the crash reporter symbol files. r=froydnj 2018-05-29 08:48:47 +09:00
moz.build Bug 1460600: Remove unsupported --enable-system-hunspell flag. r=glandium 2018-05-10 10:36:53 -07:00
nsDllMain.cpp
StaticXULComponents.ld
StaticXULComponentsStart.cpp
symverscript.in
xulrunner.rc