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

Improve Crossgen2 map file emitter #35459

Merged
merged 3 commits into from
Apr 27, 2020
Merged

Improve Crossgen2 map file emitter #35459

merged 3 commits into from
Apr 27, 2020

Conversation

trylek
Copy link
Member

@trylek trylek commented Apr 25, 2020

I have rewritten the map file emitter with two main goals in mind:

  1. Fix the long-standing problem that map file wasn't showing true
    RVA's of the individual symbols / nodes, making it harder to
    correlate its information with in-memory R2R PE layout.

  2. Add section size and statistics section roughly mimicking what
    JanV presented in his recent analytic breakdown of R2R contents.

Thanks

Tomas

I have rewritten the file name emitter with two main goals in mind:

1) Fix the long-standing problem that map file wasn't showing true
RVA's of the individual symbols / nodes, making it harder to
correlate its information with in-memory R2R PE layout.

2) Add section size and statistics section roughly mimicking what
JanV presented in his recent analytic breakdown of R2R contents.

Thanks

Tomas
@trylek
Copy link
Member Author

trylek commented Apr 25, 2020

@trylek
Copy link
Member Author

trylek commented Apr 25, 2020

/cc @dotnet/crossgen-contrib

@trylek trylek requested a review from nattress April 26, 2020 22:08
}
}

foreach (MapFileNode node in _nodes)
Copy link
Member Author

Choose a reason for hiding this comment

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

Hehe, this is a dummy leftover from v#1 node list. Will delete :-).

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@trylek trylek merged commit a070557 into dotnet:master Apr 27, 2020
@trylek trylek deleted the CrossgenStats branch April 27, 2020 15:45
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 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.

2 participants