Difference: CS255Spring09DebugCC1 (7 vs. 8)

Revision 82009-01-28 - BinBao

Line: 1 to 1
META TOPICPARENT name="CS255Spring09ProjectHome"

CS255/455 Spring 2009 How to Debug your compiler

  • Build a debuggable compiler
Line: 35 to 35
    • p print_generic_stmt(stdout, node, 2) can print the generic form of node if it is a statement node, where 2 is the value of the macro TDF_SLIM;
    • p dump_node(node, 2, stdout) can dump details about node and its children.
  • Output gimple tree in c-like form: use option -fdump-tree-gimple
  • Output gimple tree in c-like form after the pass for cs255: use option -fdump-cs255-tree-gimple. This will actually print the gimple tree before and after cs255 transformation.

* Set ALLOWTOPICCHANGE = ChenDing, BinBao \ No newline at end of file

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback