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

[release/9.0-preview2] Fix the new EH with hot-cold split code #99015

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 27, 2024

Backport of #99012 to release/9.0-preview2

/cc @carlossanlop @janvorli

Customer Impact

  • Customer reported
  • Found internally

When a customer compiles their own application with R2R and hot/cold code split enabled, the exception handling would miss catch / finally / exception filters in the cold code.

Regression

  • Yes
  • No

#98570 - enables the new exception handling by default.

Testing

Local testing and debugging of the tests that have failed due to the problem.

Risk

Low, it doesn't influence behavior with hot-cold splitting disabled, which is the default and has been well tested during the past months.

The new EH was not taking into account the fact that with hot-cold split
methods, the offset used for looking up EH funclets need to be computed
as if the hot and cold regions were consecutive in memory. That have
caused failures in a number of tests when the tests themselves were
compiled with R2R and hot-cold split enabled.

Close #98915, #98916, #98917, #98918
@carlossanlop carlossanlop added this to the 9.0.0 milestone Feb 27, 2024
@janvorli janvorli added the Servicing-consider Issue for next servicing release review label Feb 27, 2024
@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 27, 2024
@carlossanlop
Copy link
Member

carlossanlop commented Feb 27, 2024

Approved by Tactics via email.

Need to merge the main PR first.

@carlossanlop carlossanlop merged commit bbba827 into release/9.0-preview2 Feb 27, 2024
113 of 116 checks passed
@carlossanlop carlossanlop deleted the backport/pr-99012-to-release/9.0-preview2 branch February 27, 2024 22:38
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants