Search code examples
gccvisualizationcontrol-flow-graph

Visualizing RTL control-flow graphs generated by GCC


I have got a lot of outputs using -fdump-rtl-all flag of gcc and I was wondering how I can visualize these cfg files.


Solution

  • I found -da -dv as an alternative way to get the same output with .vcg format which is readable by graphviz.