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

Enable -frust-dump-all option for debugging #222

Merged
merged 1 commit into from
Feb 10, 2021
Merged

Enable -frust-dump-all option for debugging #222

merged 1 commit into from
Feb 10, 2021

Conversation

philberty
Copy link
Member

We output each debug IR to file which makes it easier to debug larger
test cases. Be aware not all dumps are complete such as name resolution
is not implemented yet, HIR is badly formatted and type resolution dump is
not finished.

We get the following outputs:

-rw-rw-r--  1 philbert philbert    4012 Feb  9 14:04 gccrs.ast.dump
-rw-rw-r--  1 philbert philbert    4082 Feb  9 14:04 gccrs.ast-expanded.dump
-rw-rw-r--  1 philbert philbert    5445 Feb  9 14:04 gccrs.hir.dump
-rw-rw-r--  1 philbert philbert       0 Feb  9 14:04 gccrs.lex.dump
-rw-rw-r--  1 philbert philbert     604 Feb  9 14:04 gccrs.target-options.dump
-rw-rw-r--  1 philbert philbert    1214 Feb  9 14:04 gccrs.type-resolution.dump

We output each debug IR to file which makes it easier to debug larger
test cases. Beaware not all dumps are complete such as name resolution
is not implemented yet, HIR is badly formatted and type resolution dump is
not finished.
Copy link
Member

@SimplyTheOther SimplyTheOther left a comment

Choose a reason for hiding this comment

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

PR looks great.

@philberty philberty merged commit 9355fb2 into master Feb 10, 2021
@philberty philberty deleted the phil/debug branch February 10, 2021 18:11
This was referenced Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants