[lld] 906f175 - [ELF][AArch64] Fix copy/paste error in llvm_unreachable message

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 07:24:41 PST 2025


Author: Jessica Clarke
Date: 2025-11-18T15:23:18Z
New Revision: 906f17566c3ad30696d5b51016acaa52e4c88ecc

URL: https://github.com/llvm/llvm-project/commit/906f17566c3ad30696d5b51016acaa52e4c88ecc
DIFF: https://github.com/llvm/llvm-project/commit/906f17566c3ad30696d5b51016acaa52e4c88ecc.diff

LOG: [ELF][AArch64] Fix copy/paste error in llvm_unreachable message

Fixes: e1979aed0a15 ("Implement gd to ie relaxation for aarch64.")

Added: 
    

Modified: 
    lld/ELF/Arch/AArch64.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Arch/AArch64.cpp b/lld/ELF/Arch/AArch64.cpp
index 2a97df4785ecb..b0dc797292511 100644
--- a/lld/ELF/Arch/AArch64.cpp
+++ b/lld/ELF/Arch/AArch64.cpp
@@ -762,7 +762,7 @@ void AArch64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
     relocateNoSym(loc, R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, val);
     break;
   default:
-    llvm_unreachable("unsupported relocation for TLS GD to LE relaxation");
+    llvm_unreachable("unsupported relocation for TLS GD to IE relaxation");
   }
 }
 


        


More information about the llvm-commits mailing list