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 -- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170319/a945a703/attachment.html>
Tobias Grosser via llvm-dev
2017-Mar-19 14:57 UTC
[llvm-dev] Better way to visualize the DOT on Mac?
On Sun, Mar 19, 2017, at 09:43 AM, 陳韋任 via llvm-dev wrote:> 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> > [1] > http://llvm.org/docs/ProgrammersManual.html#viewing-graphs-while-debugging-code > [2] http://www.graphviz.org/Download_macos.php > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Homepage: http://people.cs.nctu.edu.tw/~chenwj > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev