gecko-dev/build/moz.configure
David Major 896094e44a Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj
When we first enabled ThinLTO on our builds, we got great performance gains, but also large size increases due to aggressive inlining. There is an LLVM option called -import-instr-limit that limits the size of functions that may be imported (the threshold is subject to modification by PGO). Chromium found a good balance between speed and performance by using a value of 10. In initial testing, on Windows and Linux that value can save us many megabytes from libxul without noticeable speed regressions. For Mac, which doesn't yet have PGO, we have to use a higher limit to avoid over-restricting the optimizer which caused slowdowns on my try pushes.

Differential Revision: https://phabricator.services.mozilla.com/D51463

--HG--
extra : moz-landing-system : lando
2019-11-04 15:58:54 +00:00
..
android-ndk.configure Bug 1578825 - add a strict version check for the NDK version; r=nalexander 2019-09-04 19:20:39 +00:00
android-sdk.configure Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi 2019-07-20 17:27:53 +00:00
arm.configure Bug 1556880 - Support GCC ARM preprocessor defines to detect the ARM target. r=chmanchester 2019-06-05 02:53:01 +00:00
bindgen.configure Bug 1576703 - Update cbindgen. r=boris 2019-08-26 23:18:46 +00:00
checks.configure Backed out changeset f593f5a5bfa3 (bug 1555346) for build bustages on llvm-profdata. CLOSED TREE 2019-05-29 19:14:25 +03:00
compile-checks.configure Bug 1547038 - ignore unrelated errors when checking compiler flags with ccache; r=chmanchester 2019-04-30 20:04:22 +00:00
compilers-util.configure Bug 1510897 - Separate Android C++ flags from the other Android toolchain flags. r=nalexander 2019-03-27 22:05:04 +00:00
flags.configure Bug 1560666 - turn off C++17 aligned allocation support; r=glandium 2019-08-14 01:37:34 +00:00
headers.configure Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
init.configure Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium 2019-10-16 22:16:13 +00:00
java.configure Bug 1528314 - Make configure find an appropriate java via /usr/libexec/java_home on macOS. r=nalexander 2019-07-02 23:25:04 +00:00
keyfiles.configure
lto-pgo.configure Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj 2019-11-04 15:58:54 +00:00
memory.configure Bug 1574388 - Implement PHC on Mac. r=gsvelto,glandium 2019-08-25 23:16:05 +00:00
node.configure Bug 1575135 - Return an unicode path for nodejs. r=nalexander 2019-08-20 21:24:35 +00:00
old.configure Bug 1551726 - remove --enable-content-sandbox from old configure options; r=dmajor 2019-09-18 15:29:30 +00:00
pkg.configure Bug 1575135 - Change get_cmd_output to emit unicode strings. r=nalexander 2019-08-20 16:43:15 +00:00
rust.configure Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium 2019-10-16 22:16:13 +00:00
toolchain.configure Bug 1589792 - Remove --disable-xcode-checks r=froydnj 2019-10-30 20:46:09 +00:00
tup.configure
util.configure Bug 1473498 - [configure] Fix ImportError in util.configure under Python 3, r=glandium 2019-08-27 02:55:18 +00:00
warnings.configure Bug 1580898 - move warnings-as-errors logic into warnings.configure; r=nalexander 2019-09-25 21:30:38 +00:00
windows.configure Bug 1575135 - Use functions from util.configure instead of subprocess.*. r=nalexander 2019-08-20 16:42:16 +00:00