Skip to content

remove the switch to fallback to old EH #114018

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

Merged
merged 5 commits into from
Apr 1, 2025
Merged

Conversation

mangod9
Copy link
Member

@mangod9 mangod9 commented Mar 28, 2025

Initial PR to remove the switch to fallback to Legacy EH except for x86.

There is more cleanup that can be done, but that would be done as a separate PR.

@Copilot Copilot bot review requested due to automatic review settings March 28, 2025 16:43
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 18 changed files in this pull request and generated no comments.

Files not reviewed (17)
  • src/coreclr/debug/daccess/dacdbiimplstackwalk.cpp: Language not supported
  • src/coreclr/debug/ee/debugger.cpp: Language not supported
  • src/coreclr/inc/clrconfigvalues.h: Language not supported
  • src/coreclr/inc/dacvars.h: Language not supported
  • src/coreclr/vm/clrex.cpp: Language not supported
  • src/coreclr/vm/debugdebugger.cpp: Language not supported
  • src/coreclr/vm/excep.cpp: Language not supported
  • src/coreclr/vm/excep.h: Language not supported
  • src/coreclr/vm/fcall.cpp: Language not supported
  • src/coreclr/vm/fcall.h: Language not supported
  • src/coreclr/vm/jithelpers.cpp: Language not supported
  • src/coreclr/vm/prestub.cpp: Language not supported
  • src/coreclr/vm/proftoeeinterfaceimpl.cpp: Language not supported
  • src/coreclr/vm/stackwalk.cpp: Language not supported
  • src/coreclr/vm/threadsuspend.cpp: Language not supported
  • src/coreclr/vm/vars.cpp: Language not supported
  • src/coreclr/vm/vars.hpp: Language not supported

Copy link
Contributor

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

{
HandleManagedFault(pExceptionInfo->ExceptionRecord, pExceptionInfo->ContextRecord);
}
HandleManagedFault(pExceptionInfo->ExceptionRecord, pExceptionInfo->ContextRecord);

Choose a reason for hiding this comment

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

This one is not just removing checks, like in other places.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you please elaborate? HandleManagedFaultNew is now renamed HandleManagedFault

@mangod9 mangod9 marked this pull request as ready for review March 31, 2025 18:38
@mangod9 mangod9 requested a review from janvorli March 31, 2025 18:39
Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@mangod9
Copy link
Member Author

mangod9 commented Apr 1, 2025

/ba-g failures are dotnet/dnceng#5279

@mangod9 mangod9 merged commit 65f0718 into dotnet:main Apr 1, 2025
96 of 98 checks passed
@mangod9 mangod9 deleted the remove_old_eh branch April 1, 2025 16:42
thaystg pushed a commit to thaystg/runtime that referenced this pull request Apr 1, 2025
* remove the switch to fallback to old EH

* more cleanup

* fix build break after merge.

* CR feedback
@filipnavara
Copy link
Member

There's a lot more that can be cleaned up. At first look ExceptionTracker::InitializeCurrentContextForCrawlFrame, ExceptionTracker::InitializeCrawlFrame, ExceptionTracker::ProcessOSExceptionNotification is unused code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants