Skip to content

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

Merged
jkotas merged 2 commits into
dotnet:masterfrom
ivanpovazan:master
Dec 20, 2020
Merged

jkotas merged 2 commits into
dotnet:masterfrom
ivanpovazan:master

Conversation

@ivanpovazan

@ivanpovazan ivanpovazan commented Dec 19, 2020 •

Copy link
Copy Markdown
Member

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

@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.

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