title: How to open dot on Mac
body: <p>First of all, I am new to MacOS, and what I want is to be able to see the output of <code>llc -view-dag-combine1-dags sum.ll</code>. On Mac, <a href="http://llvm.org/docs/CommandGuide/llc.html" rel="noreferrer">llc</a> will generate dot in <code>/tmp</code> directory, and try open App to show the dot file.
  I have tried <a href="http://www.graphviz.org/Download_macos.php" rel="noreferrer">Graphviz</a>, but it doesn't work (the program crash). I would like try something else, like <a href="https://github.com/jrfonseca/xdot.py" rel="noreferrer">xdot</a> for example. I install it by <code>brew install xdot</code>, but don't know how to let the MacOS use the <code>xdot</code> I just installed to open the dot file.</p>
  
  <p>Or any other better tool to view the dot file? I would like to keep thing as simple as possible.</p>