[all-commits] [llvm/llvm-project] bbbbc0: [DTLTO][LLD][COFF] Add support for Integrated Dist...

bd1976bris via All-commits all-commits at lists.llvm.org
Sun Jul 20 06:47:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbbbc093febffcae262cde1baa429b950842d76e
      https://github.com/llvm/llvm-project/commit/bbbbc093febffcae262cde1baa429b950842d76e
  Author: bd1976bris <Ben.Dunbobbin at sony.com>
  Date:   2025-07-20 (Sun, 20 Jul 2025)

  Changed paths:
    A cross-project-tests/dtlto/link-archive-thin.test
    A cross-project-tests/dtlto/link-dtlto.c
    M cross-project-tests/lit.cfg.py
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/LTO.cpp
    M lld/COFF/Options.td
    M lld/docs/DTLTO.rst
    A lld/test/COFF/dtlto/files.test
    A lld/test/COFF/dtlto/options.test

  Log Message:
  -----------
  [DTLTO][LLD][COFF] Add support for Integrated Distributed ThinLTO (#148594)

This patch introduces support for Integrated Distributed ThinLTO (DTLTO)
in COFF LLD.

DTLTO enables the distribution of ThinLTO backend compilations via
external distribution systems, such as Incredibuild, during the
traditional link step: https://llvm.org/docs/DTLTO.html.

Note: Bitcode members of non-thin archives are not currently supported.
This will be addressed in a future change. This patch is sufficient to
allow for self-hosting an LLVM build with DTLTO if thin archives are
used.

Testing:
- LLD `lit` test coverage has been added, using a mock distributor to
avoid requiring Clang.
- Cross-project `lit` tests cover integration with Clang.

For the design discussion of the DTLTO feature, see:
https://github.com/llvm/llvm-project/pull/126654



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list