[lld] [ELF] Include sharded relocations in RelocationBaseSection::getSize (PR #173285)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 18:43:24 PST 2025


================
@@ -0,0 +1,20 @@
+# REQUIRES: aarch64
+# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
+# RUN: ld.lld --static %t.o -o %t
----------------
MaskRay wrote:

`-static` is redundant (unlike the compiler driver `-static`, our `-static` just disables searching for / linking against DSO)

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


More information about the llvm-commits mailing list