[lld] lld: Add initial support for GNU LTO format (PR #157175)

Florian Weimer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 11:28:18 PDT 2025


================
@@ -177,6 +177,14 @@ if (LLD_DEFAULT_LD_LLD_IS_MINGW)
   add_definitions("-DLLD_DEFAULT_LD_LLD_IS_MINGW=1")
 endif()
 
+option(LLD_LINK_GPL3 "Allow LLD to link to GPLv3-licensed files")
----------------
fweimer-rh wrote:

@tuliom I would mention the GCC compiler plugin specifically. LLD already links against GPL code via libgcc_s and libstdc++. Mentioning the plugin and not its licensing impact avoids taking a position on the implications of linking against other code from GCC.

But in the end, you don't need to convince me, but the LLVM community.


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


More information about the llvm-commits mailing list