[lld] [llvm] [LLD][AArch64] Make adrp+ldr relaxation per-symbol all-or-nothing (PR #208396)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 05:59:41 PDT 2026


================
@@ -130,3 +158,21 @@ x:
 .global _start
 _start:
   ldr     x0, [x0, #:got_lo12:x]
+
+#--- all-or-nothing.s
----------------
smithp35 wrote:

One of the test cases I think we're missing is that the all-or-nothing for a symbol is per-section. Could be worth adding an additional section to the same symbols, bit with legal relaxations that are applied. 

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


More information about the llvm-commits mailing list