[lld] [LLD][COFF] Replace ARM64EC TLS directory chunks with native chunks when available (PR #212845)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 2 12:29:22 PDT 2026


================
@@ -394,11 +394,12 @@ class SectionChunk : public Chunk {
   // and this chunk is considered as dead.
   SectionChunk *repl;
 
+  void replace(SectionChunk *other);
+
 private:
   SectionChunk *assocChildren = nullptr;
 
   // Used for ICF (Identical COMDAT Folding)
-  void replace(SectionChunk *other);
----------------
mstorsjo wrote:

A small retrospective comment here: The comment above (about these being used for ICF) now only refers to one out of two members relating to this. I'm not sure if this is worth trying to fix up... (And it doesn't need to go along with the backport.)

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


More information about the llvm-commits mailing list