Skip to content

SPMI: Fix repPrintObjectDescription and repGetStringLiteral#77372

Merged
jakobbotsch merged 1 commit intodotnet:mainfrom
jakobbotsch:fix-spmi-implementations
Oct 24, 2022
Merged

SPMI: Fix repPrintObjectDescription and repGetStringLiteral#77372
jakobbotsch merged 1 commit intodotnet:mainfrom
jakobbotsch:fix-spmi-implementations

Conversation

@jakobbotsch
Copy link
Member

@jakobbotsch jakobbotsch commented Oct 24, 2022

repPrintObjectDescription was not null-terminating when the map was null. There is SPMI error trap on the JIT side so we can just make it fail on missing data.

repGetStringLiteral should not succeed on missing data, it is used for optimization purposes. I noticed this one while fixing the other one.

repPrintObjectDescription was not null-terminating when the map was
null. There is SPMI error trap on the JIT side so we can just make it
fail on missing data.

repGetStringLiteral should not succeed on missing data, it is used for
optimization purposes.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 24, 2022
@jakobbotsch jakobbotsch requested a review from EgorBo October 24, 2022 09:26
@ghost ghost assigned jakobbotsch Oct 24, 2022
@ghost
Copy link

ghost commented Oct 24, 2022

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

Issue Details

repPrintObjectDescription was not null-terminating when the map was null. There is SPMI error trap on the JIT side so we can just make it fail on missing data.

repGetStringLiteral should not succeed on missing data, it is used for optimization purposes.

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Member Author

cc @dotnet/jit-contrib PTAL @EgorBo

This should fix recent superpmi-diffs failures where no results are reported sometimes.

@jakobbotsch jakobbotsch merged commit 1c265ec into dotnet:main Oct 24, 2022
@jakobbotsch jakobbotsch deleted the fix-spmi-implementations branch October 24, 2022 13:34
@ghost ghost locked as resolved and limited conversation to collaborators Nov 23, 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.

2 participants