gecko-dev/build/build-clang/clang-11-win64.json
David Major c7dcbe9387 Bug 1675600 - Use the new pass manager during LTO r=firefox-build-system-reviewers,glandium
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
2020-11-17 04:07:54 +00:00

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"
]
}