Better way to visualize the DOT on Mac?

Hi all,

I would like to visualize the SelectionDAG result on Mac. The link mentioned on [1] says the package is no longer maintained, and direct me to [2]. I find the package on [2] also seems not be well maintained.

Does anyone know a better way to install Graphviz on Mac, so that when I type llc -view-dag-combine1-dags sum.ll, a visualizer will pop up to show the result? Thanks.

[1] http://llvm.org/docs/ProgrammersManual.html#viewing-graphs-while-debugging-code
[2] http://www.graphviz.org/Download_macos.php

Regards,
chenwj

Hi all,

  I would like to visualize the SelectionDAG result on Mac. The link
mentioned on [1] says the package is no longer maintained, and direct me
to [2]. I find the package on [2] also seems not be well maintained.

  Does anyone know a better way to install Graphviz on Mac, so that when
  I
type `llc -view-dag-combine1-dags sum.ll`, a visualizer will pop up to
show
the result? Thanks.

I use this script: https://github.com/jrfonseca/xdot.py

But AFAIK you still need some graphviz to for the layouting. Still
thought, this might be useful for you.

Best,
Tobias