Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

[ILVerify] Implement missing exception region errors - #4960

Merged
jkotas merged 3 commits into
dotnet:masterfrom
Dynatrace:missingERErrors
Nov 18, 2017
Merged

jkotas merged 3 commits into
dotnet:masterfrom
Dynatrace:missingERErrors

Conversation

@ArztSamuel

Copy link
Copy Markdown
Collaborator

This adapts the current code to report more specific errors for branch out of finally and fallthroughs into / out of exception regions.

In order to distinguish between fallthrough and normal branch operations, I moved the code of ImportFallthrough into a new method called PropagateControlFlow.

I also removed the commented PEVerify errors E_LEAVE and E_BR_TO_EXCEPTION, as they are outdated now.

@jkotas jkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@jkotas
jkotas merged commit b57755f into dotnet:master Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants