[lld] [llvm] [DTLTO] support distributing bitcode from FatLTO objects (PR #176928)

Ben Dunbobbin via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 10:14:52 PST 2026


================
@@ -205,10 +206,14 @@ class InputFile {
   LLVM_ABI BitcodeModule &getPrimaryBitcodeModule();
   // Returns the memory buffer reference for this input file.
   MemoryBufferRef getFileBuffer() const { return MbRef; }
-  // Returns true if this input file is a member of an archive.
-  bool isMemberOfArchive() const { return IsMemberOfArchive; }
-  // Mark this input file as a member of archive.
-  void memberOfArchive(bool MA) { IsMemberOfArchive = MA; }
+  // Returns true if this input should be materialized to disk for distribution.
+  bool shouldMaterialize() const { return ShouldMaterialize; }
----------------
bd1976bris wrote:

Thanks - hopefully a useful discussion for @rosefromthedead.

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


More information about the llvm-commits mailing list