[lld] [LLD][COFF] Deduplicate common chunks when linking COFF files. (PR #162553)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 16:24:07 PDT 2025


================
@@ -522,6 +522,8 @@ class CommonChunk : public NonSectionChunk {
   uint32_t getOutputCharacteristics() const override;
   StringRef getSectionName() const override { return ".bss"; }
 
+  bool active;
----------------
aganea wrote:

In other places we call this `live`.

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


More information about the llvm-commits mailing list