Add a --show-monomorphized
flag to output the monomorphized IR
#4067
Labels
--show-monomorphized
flag to output the monomorphized IR
#4067
Problem
Very commonly when debugging I add a
println!("{program}");
on line 391 ofnoirc_driver/src/lib.rs
: https://github.com/noir-lang/noir/blob/master/compiler/noirc_driver/src/lib.rs#L390. This shows the monomorphized output of the program and can be helpful in debugging certain frontend / codegen issues since it is more terse and closer to the source program than the SSA is.Happy Case
We should add a flag such as
--show-monomorphized
or similar to show the monomorphized output of a program.Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: