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 crossgenning of sparse COM interface types on non-Windows and add test #40404

Merged

Conversation

jkoritzinsky
Copy link
Member

This fixes errors from crossgenning sparse vtable types on non-Windows platforms. Running crossgen on crossgen2 causes crossgen to try to readytorun some sparse vtables in Microsoft.DiaSymReader.dll. This change fixes crossgen to ignore these members and not error out on Linux (same behavior as Windows).

This PR also adds a test that tests sparse vtables on Windows and tests the sparse vtable crossgenning on all platforms.

@ghost
Copy link

ghost commented Aug 5, 2020

Hello @jkoritzinsky!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jkoritzinsky
Copy link
Member Author

The perf wasm leg is not supposed to run on PR (and was just moved to outerloop). Since none of the code in this PR affects anything in the perf wasm leg, I'm going to merge this once the Mono test legs that are currently running are green.

@jkoritzinsky jkoritzinsky merged commit 222415c into dotnet:master Aug 6, 2020
@jkoritzinsky jkoritzinsky deleted the sparse-vtable-crossgen-test branch August 6, 2020 00:52
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
@karelz karelz modified the milestones: 6.0.0, 5.0.0 Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
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