[llvm-branch-commits] [lld] release/22.x: [LLD] [COFF] Fix handling of immediates in ARM64_SECREL_HIGH12A (#200060) (PR #200128)

Eli Friedman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 28 10:04:30 PDT 2026


https://github.com/efriedma-quic approved this pull request.

This is not a regression, but it fixes a miscompile. It's a fix to make lld-link compatible with the MSVC spec, and LLVM-generated object files.  (It's specifically code using thread-local variables in Zig; I don't think it affects code generated by clang or MSVC.)

It's pretty low risk, given the limited scope: this codepath is only used for lld on COFF-Arm64 targets.

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


More information about the llvm-branch-commits mailing list