SPMI: Ensure proper zero extension for isObjectImmutable and friends#112617
Merged
jakobbotsch merged 1 commit intodotnet:mainfrom Feb 17, 2025
Merged
SPMI: Ensure proper zero extension for isObjectImmutable and friends#112617jakobbotsch merged 1 commit intodotnet:mainfrom
isObjectImmutable and friends#112617jakobbotsch merged 1 commit intodotnet:mainfrom
Conversation
Whether pointers are signed or unsigned is implementation defined, meaning that casts from a pointer to a 64-bit integer on 32-bit targets can be either zero or sign extended. SPMI provides `CastHandle` to handle this, but a couple of recording helpers were not using these.
Member
Author
|
cc @dotnet/jit-contrib PTAL @EgorBo |
BruceForstall
approved these changes
Feb 16, 2025
This was referenced Feb 17, 2025
Open
EgorBo
approved these changes
Feb 17, 2025
grendello
added a commit
to grendello/runtime
that referenced
this pull request
Feb 18, 2025
* main: (71 commits) Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20250212.3 (dotnet#112626) JIT: Unify struct arg morphing (dotnet#112612) Enable `SA1015`: Closing generic bracket should not be followed by a space (dotnet#112597) Clean up normalizeLocale for mono browser target (dotnet#112575) SPMI: Ensure proper zero extension for isObjectImmutable and friends (dotnet#112617) Quote --version-scripts path (dotnet#112603) Remove incompatible API from PKCS netstandard2.0 lib [main] Update dependencies from dotnet/emsdk (dotnet#112393) Avoid `Unsafe.As` in `RangeCharSearchValues` (dotnet#112606) Fixed the issue of incorrect return value of PalVirtualAlloc (dotnet#112579) Fix size used for vectorization check in BitArray (dotnet#111558) (dotnet#111564) Fix build of windows arm64 crossdac (dotnet#112553) Simplify `ShuffleTakeIterator.GetCount` (dotnet#112593) Fix VS div-by-0 in DacEnumerableHashTable code (dotnet#112542) R2RDump: normalize GC info totalInterruptibleLength (dotnet#112003) Fix alignment padding and add test for saving managed resources (dotnet#110915) Adds `ccmp` logic into emitter backend. (dotnet#112153) Disable AVX10.2 by default (dotnet#112572) Outbox AesGcm in to Microsoft.Bcl.Cryptography Make test `IUnknown` conforming (dotnet#112566) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Whether pointers are signed or unsigned is implementation defined, meaning that casts from a pointer to a 64-bit integer on 32-bit targets can be either zero or sign extended. SPMI provides
CastHandleto handle this, but a couple of record/replay helpers were not using these. This would cause misses when recording on linux-arm32 and replaying with an MSVC-compiled cross-jit.Fix #104329