mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
c7dcbe9387
Currently, in LTO builds, we use the new pass manager during the initial translation to bitcode but not for the final optimization during linking. On Linux, we can enable the new pass manager during LTO with a plugin option. I've landed a patch upstream to allow it on Windows as well, which is included here. Switching the pass manager brings speed improvements on its own, but it also reduces code size by ~6%, which we can use a portion of as budget to increase the import limit (via the hot multiplier) for even more speed improvements. Differential Revision: https://phabricator.services.mozilla.com/D96108
19 lines
504 B
JSON
19 lines
504 B
JSON
{
|
|
"stages": "4",
|
|
"pgo" : true,
|
|
"build_libcxx": false,
|
|
"build_type": "Release",
|
|
"assertions": false,
|
|
"python_path": "c:/mozilla-build/python/python.exe",
|
|
"cc": "cl.exe",
|
|
"cxx": "cl.exe",
|
|
"ml": "ml64.exe",
|
|
"patches": [
|
|
"unpoison-thread-stacks_clang_10.patch",
|
|
"downgrade-mangling-error.patch",
|
|
"bug47258-extract-symbols-mbcs.patch",
|
|
"llvmorg-12-init-10926-gb79e990f401-LTO-new-pass-manager.patch",
|
|
"loosen-msvc-detection.patch"
|
|
]
|
|
}
|