[llvm] [DTLTO][LLVM] Integrated Distributed ThinLTO (DTLTO) (PR #127749)

Katya Romanova via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 02:15:01 PDT 2025


romanova-ekaterina wrote:

Hi Teresa,
> This approach does simplify the lld and LTO side, but I'd like to get thoughts from @MaskRay, as this changes the interfacing with lld. The downside is that it then also requires support for a larger new DTLTO library (it looks like the original patch only contains a Local plugin - do each of the other distributed build systems need to replicate a lot of that functionality?).

No, replication of the functionality will not be needed for plugins in general.
All common functionality will be in DTLTO static library 
(DTLTO.lib) which will be statically linked with lld.

Plugins do not need to be linked with DTLTO static library. 
Plugins could be implemented in any programming language that allow creating shared libraries.
I also wanted to mention that we provided local plugin for testing purpose. 


https://github.com/llvm/llvm-project/pull/127749


More information about the llvm-commits mailing list