-
Notifications
You must be signed in to change notification settings - Fork 6.3k
CLI output selection in assembler mode #12074
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
Conversation
a3fa5d7 to
b9b2c69
Compare
|
#12071 merged so this is now reviewable. |
88630cf to
dd0f837
Compare
|
Note: this is now based on the CI fix (#12106). |
9964dd6 to
c42266d
Compare
c42266d to
7f3bba0
Compare
7f3bba0 to
e33c095
Compare
solc/CommandLineInterface.cpp
Outdated
| sout() << endl << "==========================" << endl; | ||
| sout() << endl << "Translated source:" << endl; | ||
| sout() << stack.print() << endl; | ||
| // TODO: This isn't ewasm but it's only present when we're doing Yul->EWASM translation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is not going to be done in this PR? Maybe create an issue so it doesn't get forgotten?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I just realized that ewasm is still experimental. So maybe it's not breaking after all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got a confirmation on the chat. It's not breaking.
In that case I'm adding an extra commit that adds an output called --ewasm-ir (I could not come up with a better name).
e33c095 to
ed7e986
Compare
|
wait, do the tests need update? |
ed7e986 to
9cd4e3c
Compare
|
I did update them but looks like I missed one change needed after a rebase. Apparently an extra Should be fixed now. |
9cd4e3c to
6b605b5
Compare
6b605b5 to
1a19d9a
Compare
Resolves #3870.
Depends on #12071. In draft mode until that PR is merged.Merged.This does not add any new outputs, just makes the ones that are already available respond to output selection flags so e.g.
--iris not available. We canAlso, to make this non-breaking, all outputs are selected if no flags are specified, which is different from how the compiler mode behaves. If this goes through, I can create a separate PR to
breakingbranch to change that.