Skip to content

Another attempt to fix ilasm generating malformed portable PDB files - #46289

Merged
jkotas merged 1 commit into
dotnet:masterfrom
ivanpovazan:master
Dec 21, 2020
Merged

jkotas merged 1 commit into
dotnet:masterfrom
ivanpovazan:master

Conversation

@ivanpovazan

@ivanpovazan ivanpovazan commented Dec 21, 2020 •

Copy link
Copy Markdown
Member

The previous fix #46250 was not complete.

The problem persists because ilasm generates wrong values for blob heap index, when generating SequencePoints blob.
The blob heap index value must be 0 for methods with empty body, which has now been fixed.

I have verified that 'Pdb2Xml.exe' can now successfully convert the pdb file generated for .\runtime\src\tests\JIT\Generics\ConstrainedCall\vt2.il

Hopefully, this will finally fix #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.

Thank you!

@jkotas
jkotas merged commit 5ea2724 into dotnet:master Dec 21, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 20, 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