Confirmed users
156
edits
m (→Development) |
mNo edit summary |
||
Line 17: | Line 17: | ||
Currently, IonMonkey is disabled by default. Use '--ion' to enable it. | Currently, IonMonkey is disabled by default. Use '--ion' to enable it. | ||
=Debugging= | |||
A few tools exist to help debug IonMonkey. | |||
*Debug spew, controlled by the environment variable <tt>IONFLAGS</tt>. Set it to <tt>help</tt> to see available options. | |||
*Instruction spew, via setting the environment variable <tt>JMFLAGS</tt> to <tt>insns</tt>. | |||
*[http://java.net/projects/c1visualizer/ c1visualizer] IonMonkey writes a spew file to <tt>/tmp/ion.cfg</tt>, which can be imported into the c1visualizer. It can display a clickable control-flow graph, MIR, LIR, and liveness intervals for LSRA. | |||
*[https://github.com/sstangl/iongraph iongraph] by Sean Stangl, using IonMonkey's JSON spew. |