[lld] [lld][ELF] Skip zero-sized symbols in balanced partitioning (PR #151685)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 09:36:28 PDT 2025


================
@@ -286,16 +297,48 @@ merged2:                                // @merged2
 .Lfunc_end7:
 	.size	merged2, .Lfunc_end7-merged2
                                         // -- End function
+	.section	.text.L1,"axR", at progbits
+	.p2align	2                               // -- Begin function L1
+	.type	L1, at function
+L1:                                     // @L1
----------------
ellishg wrote:

It doesn't look like this section has zero size? Can you also explain why these sections would have zero size?

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


More information about the llvm-commits mailing list