[roll] Roll fuchsia [build][developer] Leverage FatLTO when building tests

Since FatLTO binaries ship with both LLVM bitcode and object code, we can
avoid expensive linking operations when building tests by not using
LTO linking for test binaries.

This patch opts C/C++ tests out of a full relink/reoptimization by
telling the linker to choose the object code part of the object file
to when linking. This reduced the Toolchain build time for tests
by around 20% in LTO builds, and we expect similar improvements in
Fuchsia.

Original-Bug: 364615885
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1112382
Owners-Override: James Robinson <jamesr@google.com>
Original-Revision: c5b68f7dd772e3f8b23ddc9ec418c876bb221cd7
GitOrigin-RevId: 4dbba31f0183486c36718c5863c510eb8e740c31
Change-Id: I8f16c816fcfd146024ec896c8b519d9e1eb8a2bd
1 file changed
tree: 24beba1f1f3c968e248cc47ee823f6777e739fd2
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.