[llvm] [X86] Check if signed value is too large for fixup under some conditions (PR #150976)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 9 09:22:06 PDT 2025
MaskRay wrote:
In `X86AsmBackend::applyFixup`, the assert in the else branch is reachable for out-of-range fixup values and should be fixed.
`FK_Data_[1248]` may have true of false PCRel, while other fixup kinds have a known PCRel value.
When `IsResolved`, we should add the reportError check for more fixup kinds, but should ensure every new case has test coverage.
https://github.com/llvm/llvm-project/pull/150976
More information about the llvm-commits
mailing list