Repository navigation
Support native PE TLS field access in the interpreter - #136315
Merged
Merged
Conversation
The Windows Checked interpreter fails Test-TLS, MutualRecurThd-TLS, b07847, and b03689 with InvalidProgramException. dotnet/runtime PR 133533 converted these .data tls tests to C++/CLI. dotnet/runtime PR 136183 then added the VM's native TLS field-address helper and removed the Checked-configuration skips, exposing the interpreter's missing CORINFO_FIELD_STATIC_TLS handling. Move the init class handling so that it applies also to this new field access type. JIT has this handling shared for all the types as well https://github.com/dotnet/runtime/blob/ba82a213c43ce30bc3d81b9e39d0c3a996df6b1e/src/coreclr/jit/importer.cpp#L9888
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @JulieLeeMSFT, @BrzVlad, @janvorli |
Member
Author
|
/azp run runtime-interpreter |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Member
We should not bother with fixing interpreter to work well for C++/CLI and other Windows-specific legacy features. (I am ok with this PR since it is a very simple change, and not really C++/CLI specific.) |
Member
Author
|
/ba-g unrelated interpreter failures which will be addressed in follow up work |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The Windows Checked interpreter fails Test-TLS, MutualRecurThd-TLS, b07847, and b03689 with InvalidProgramException.
#133533 converted these
.data tlstests to C++/CLI. #136183 then added the VM's native TLS field-address helper and removed the Checked-configuration skips, exposing the interpreter's missing CORINFO_FIELD_STATIC_TLS handling.Move the init class handling so that it applies also to this new field access type. JIT has this handling shared for all the types as well
runtime/src/coreclr/jit/importer.cpp
Line 9888 in ba82a21