enable tail merge

This commit is contained in:
Alexander Frick 2023-04-28 09:59:42 -05:00
parent 18ef7450f3
commit 77967d669a
7 changed files with 7 additions and 2 deletions

View file

@ -208,6 +208,7 @@ config("compiler") {
# String tail merging leads to smaller binaries, but they don't compress
# as well, leading to increased mini_installer size (crbug.com/838449).
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
ldflags += [ "/OPT:LLDTAILMERGE" ]
}
# TODO(siggi): Is this of any use anymore?

View file

@ -906,7 +906,7 @@ config("compiler") {
"-Zremap-cwd-prefix=.",
# Full RUSTC optimizations.
"-Copt-level=3", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul",
"-Copt-level=3", "-Ctune-cpu=haswell", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul",
]
if (rust_abi_target != "") {
rustflags += [ "--target=$rust_abi_target" ]

View file

@ -215,6 +215,7 @@ config("compiler") {
# String tail merging leads to smaller binaries, but they don't compress
# as well, leading to increased mini_installer size (crbug.com/838449).
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
ldflags += [ "/OPT:LLDTAILMERGE" ]
}
# TODO(siggi): Is this of any use anymore?

View file

@ -204,6 +204,7 @@ config("compiler") {
# String tail merging leads to smaller binaries, but they don't compress
# as well, leading to increased mini_installer size (crbug.com/838449).
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
ldflags += [ "/OPT:LLDTAILMERGE" ]
}
# TODO(siggi): Is this of any use anymore?

View file

@ -205,6 +205,7 @@ config("compiler") {
# String tail merging leads to smaller binaries, but they don't compress
# as well, leading to increased mini_installer size (crbug.com/838449).
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
ldflags += [ "/OPT:LLDTAILMERGE" ]
}
# TODO(siggi): Is this of any use anymore?

View file

@ -208,6 +208,7 @@ config("compiler") {
# String tail merging leads to smaller binaries, but they don't compress
# as well, leading to increased mini_installer size (crbug.com/838449).
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
ldflags += [ "/OPT:LLDTAILMERGE" ]
}
# TODO(siggi): Is this of any use anymore?

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2023 The Chromium Authors and Alex313031
# Copyright 2023 The Chromium Authors, Alex313031 and gz83
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.