Skip to content
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

Fix missing flags for IND(str_handle) #75576

Merged
merged 1 commit into from
Sep 14, 2022
Merged

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Sep 14, 2022

Fixes #75562
Normally, we set GTF_IND_INVARIANT for string literals when we create IND nodes representing them, but after #49576 GTF_ICON_STR_HDL may be created without GT_IND first, so if it appears later - update its flags.

Also, fix eeGetCPString (used for e.g. DOTNET_JitDisasm) to handle frozen strings

cc @AndyAyersMS

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 14, 2022
@ghost ghost assigned EgorBo Sep 14, 2022
@ghost
Copy link

ghost commented Sep 14, 2022

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #75562
Normally, we set GTF_IND_INVARIANT for string literals when we create IND nodes representing them, but after #49576 GTF_ICON_STR_HDL may be created without GT_IND first, so if it appears later - update its flags.

Also, fix eeGetCPString (used for e.g. DOTNET_JitDisasm) to handle frozen strings

cc @AndyAyersMS

Author: EgorBo
Assignees: EgorBo
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo EgorBo merged commit 36aa98b into dotnet:main Sep 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SPMI runtime tests collection failure: Missing flags on tree
3 participants