[lld] [ELF] Handle and optimize x86-64 PLTOFF64 TLS sequences (PR #216263)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 15 14:07:30 PDT 2026


================
@@ -1006,6 +1038,19 @@ void X86_64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
     return;
   }
 
+  if (isPltOff64Tls(loc)) {
+    // Convert the sequence to
----------------
MaskRay wrote:

Done

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


More information about the llvm-commits mailing list