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

Fix for ilasm generation of malformed PDB files due to empty body methods #46250

Merged
merged 2 commits into from
Dec 20, 2020

Conversation

ivanpovazan
Copy link
Member

@ivanpovazan ivanpovazan commented Dec 19, 2020

There was an issue in ilasm where empty body methods were ignored when generating MethodDebugInformation table entries.
This caused generation of malformed PDB files, because the MethodDef and MethodDebugInformation table rows did not match.

Fixes #46124

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you for adding the test.

@jkotas jkotas merged commit 0b58771 into dotnet:master Dec 20, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 19, 2021
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.

Malformed PDB file for a few runtime tests on Mono AOT after ilasm bump
3 participants