[clang] [lld] [llvm] Add FatLTO support for COFF (PR #165529)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 08:07:47 PST 2025


================
@@ -256,6 +257,23 @@ MemoryBufferRef LinkerDriver::takeBuffer(std::unique_ptr<MemoryBuffer> mb) {
   return mbref;
 }
 
+InputFile *LinkerDriver::tryCreateFatLTOFile(MemoryBufferRef mb,
----------------
aganea wrote:

I don't think we need this as a member function, it could just be `static`.

Additionnaly, can we also handle the `ObjFile::create` call in this function?

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


More information about the llvm-commits mailing list