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

bd1976bris via All-commits all-commits at lists.llvm.org
Thu Jul 24 02:57:55 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 54c87e7fdd1228cd64ec104e02278d0195b6569e
      https://github.com/llvm/llvm-project/commit/54c87e7fdd1228cd64ec104e02278d0195b6569e
  Author: bd1976bris <Ben.Dunbobbin at sony.com>
  Date:   2025-07-24 (Thu, 24 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

(cherry picked from commit bbbbc093febffcae262cde1baa429b950842d76e)



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