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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 10:57:50 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; }
----------------
teresajohnson wrote:

Sure, I think more precise is better here. Because I will definitely look at this again sometime in the future and completely forget about the background =)

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


More information about the llvm-commits mailing list