зеркало из https://github.com/mozilla/gecko-dev.git
8b091c97fd
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 |
||
---|---|---|
.. | ||
awsy | ||
config | ||
crashtest | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webdriver | ||
xpcshell | ||
README.txt | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff