Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix "same try" in interpreter compiler#120803

Merged
janvorli merged 2 commits into
dotnet:mainfrom
janvorli:fix-issametry-and-fault
Oct 16, 2025
Merged

Fix "same try" in interpreter compiler#120803
janvorli merged 2 commits into
dotnet:mainfrom
janvorli:fix-issametry-and-fault

Conversation

@janvorli

Copy link
Copy Markdown
Member

The COR_ILEXCEPTION_CLAUSE_SAMETRY was never set in the generated EH info due to a bug.
I've also fixed a minor debug logging issue - fault clauses were missing in the dumped EH clauses

The COR_ILEXCEPTION_CLAUSE_SAMETRY was never set in the generated EH
info due to a bug.
I've also fixed a minor debug logging issue - fault clauses were missing in the dumped EH clauses
@janvorli janvorli added this to the 11.0.0 milestone Oct 16, 2025
@janvorli janvorli self-assigned this Oct 16, 2025
@janvorli janvorli requested review from BrzVlad and kg as code owners October 16, 2025 15:12
Copilot AI review requested due to automatic review settings October 16, 2025 15:12
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes missed setting of COR_ILEXCEPTION_CLAUSE_SAMETRY in interpreter-generated EH info and adds missing debug dump output for fault handlers.

  • Moves lastTry* updates after comparison so SAMETRY bit is now correctly applied.
  • Adds explicit debug logging branch for fault handlers.

Comment thread src/coreclr/interpreter/compiler.cpp Outdated
Comment thread src/coreclr/interpreter/compiler.cpp Outdated
@janvorli janvorli merged commit 2b5d3be into dotnet:main Oct 16, 2025
93 of 95 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants