зеркало из https://github.com/mozilla/gecko-dev.git
e39a3d6b7c
When Android shuts down the ndk process, it doesn't call the registered atexit() handlers, which is normally where the profile data gets written to file. Since the PGO test suite closes the browser when it is finished, the nativeRun routine can manually call out to __llvm_profile_dump() before returning. This method has a downside that only the profile data from the calling library gets written out, rather than for the whole process. Since we are most interested in optimizing libxul, a new hook is added in Bootstrap to make sure we get the profile data for the right library. Differential Revision: https://phabricator.services.mozilla.com/D22817 --HG-- extra : source : 0615c775a0cf6e8f98e1c051cd574c0d602a738a |
||
---|---|---|
.. | ||
android | ||
build | ||
linker | ||
misc | ||
tests | ||
moz.build |