[libcxx-commits] [compiler-rt] [libcxx] [lld] [llvm] CodeGen: Optionally emit PAuth relocations as IRELATIVE relocations. (PR #133533)
Peter Collingbourne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 10 13:17:58 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.
Fixed by https://github.com/llvm/llvm-project/pull/171707
https://github.com/llvm/llvm-project/pull/133533
More information about the libcxx-commits
mailing list