[llvm-branch-commits] [NFC][ELF][AArch64] Don't duplicate addRelativeReloc call for MTE globals (PR #171181)

Jessica Clarke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 8 10:30:37 PST 2025


https://github.com/jrtc27 created https://github.com/llvm/llvm-project/pull/171181

This call to addRelativeReloc is the same as the one at the end of the
function, so skip the relrDyn code for this case and add the special
out-of-bounds handling code to the end of the function. This makes it
obvious where MTE globals differ in behaviour rather than having to
compare the two different implementations.





More information about the llvm-branch-commits mailing list