-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always set addlDelta
to zero on x86
#79467
Always set addlDelta
to zero on x86
#79467
Conversation
The value is used to compensate for the additional instruction bytes, which should only be relevant for RIP-relative addressing, while x86 uses absolute addressing.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsAs best as I am able to infer from reading the code, this value is meant to be used for reporting relocations of RIP-relative addresses, which x86 doesn't have. Fixes #79170. No diffs are expected.
|
Failure is #79439. @dotnet/jit-contrib |
This seems like a reasonable fix, but I wonder if we should consider this a crossgen2 bug. I wrote a fix there that seems to work: #79627 This matches the behavior that the old |
Indeed, that was the main question here. What made me prefer a fix in the Jit was that it is easier to understand: there is no computation of data on one side where the other is expected to explicitly ignore it for things to work properly. |
As best as I am able to infer from reading the code, this value is only meant to be used for reporting relocations of RIP-relative addresses, which x86 doesn't have.
Fixes #79170.
No diffs are expected.