Skip to content

Add support for crossgen2 to jit-dasm and jit-diff. - #228

Merged
erozenfeld merged 1 commit into
dotnet:masterfrom
erozenfeld:Crossgen2Support
Nov 21, 2019
Merged

Add support for crossgen2 to jit-dasm and jit-diff.#228
erozenfeld merged 1 commit into
dotnet:masterfrom
erozenfeld:Crossgen2Support

Conversation

@erozenfeld

Copy link
Copy Markdown
Contributor

--crossgen arg can now point to crossgen.exe or crossgen2.exe.

crossgen.exe and crossgen2.exe have diffferent command line args
so jit-dasm takes care of passing the right args depending on whether
--crossgen points to crossgen.exe or crossgen2.exe.

@erozenfeld

Copy link
Copy Markdown
Contributor Author

@dotnet/jit-contrib PTAL

Comment thread src/jit-dasm/jit-dasm.cs Outdated
Comment thread src/jit-dasm/jit-dasm.cs Outdated
--crossgen arg can now point to crossgen.exe or crossgen2.exe.

crossgen.exe and crossgen2.exe have diffferent command line args
so jit-dasm takes care of passing the right args depending on whether
--crossgen points to crossgen.exe or crossgen2.exe.
@erozenfeld

Copy link
Copy Markdown
Contributor Author

I also changed command line list creation to use Add instead of Insert to make it linear instead of quadratic.

@echesakov echesakov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks Good :shipit:

@erozenfeld
erozenfeld merged commit 83888b7 into dotnet:master Nov 21, 2019
erozenfeld added a commit to erozenfeld/jitutils that referenced this pull request Nov 26, 2019
This is a follow-up to dotnet#228. Unlike crossgen.exe, crossgen2.exe
needs an explicit --optimize option. I added the method to set it
in dotnet#228 but forgot to call it from GenerateAsm. This change adds
the missing call.
erozenfeld added a commit that referenced this pull request Nov 26, 2019
This is a follow-up to #228. Unlike crossgen.exe, crossgen2.exe
needs an explicit --optimize option. I added the method to set it
in #228 but forgot to call it from GenerateAsm. This change adds
the missing call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants