Skip to content

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 AI 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

@ghost ghost added the area-VM-coreclr label Mar 28, 2025
@mangod9 mangod9 marked this pull request as draft March 28, 2025 16:44
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);
Copy link
Contributor

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.

@github-actions github-actions bot locked and limited conversation to collaborators May 2, 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.

4 participants