[compiler-rt] [libcxx] [lld] [llvm] CodeGen: Optionally emit PAuth relocations as IRELATIVE relocations. (PR #133533)
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 11:05:22 PST 2025
pcc wrote:
This comes from:
```
@g.big_offset.ref.da.0 = constant ptr ptrauth (ptr getelementptr (i8, ptr @g, i64 add (i64 2147483648, i64 65537)), i32 2)
```
Looks like we're missing handling for the case where the offset is large enough to not fit into an ADD instruction's immediate operand. So we shouldn't error out but instead should fix the code generator to materialize these large offsets correctly.
https://github.com/llvm/llvm-project/pull/133533
More information about the llvm-commits
mailing list