-
Notifications
You must be signed in to change notification settings - Fork 89
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
printer: add debug printer #6
Comments
I have a scrappy initial version of this in the issue83 branch at the moment. There is a snag the the obvious implementation. Currently all printers run after all other passes. Cleanup passes invalidate the CFG, so for safety we wipe out those fields to ensure they don't get accidentally used. This means the debug output is incomplete. I'm not immediately sure what the most elegant way to deal with this is. |
It would be great to support a "debug" print mode. This would display all metadata from the AST, including the results of passes. See PeachPy
format_instructions
for example.The text was updated successfully, but these errors were encountered: