Changes in directory llvm/docs:
ProgrammersManual.html updated: 1.91 -> 1.92 --- Log message: Update documentaion of node annotation (coloring) in viewGraph. --- Diffs of the changes: (+14 -2) ProgrammersManual.html | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) Index: llvm/docs/ProgrammersManual.html diff -u llvm/docs/ProgrammersManual.html:1.91 llvm/docs/ProgrammersManual.html:1.92 --- llvm/docs/ProgrammersManual.html:1.91 Fri Apr 14 09:11:48 2006 +++ llvm/docs/ProgrammersManual.html Mon Oct 2 07:28:07 2006 @@ -516,7 +516,7 @@ <tt>Function::viewCFGOnly()</tt> (does not include the instructions), the <tt>MachineFunction::viewCFG()</tt> and <tt>MachineFunction::viewCFGOnly()</tt>, and the <tt>SelectionDAG::viewGraph()</tt> methods. Within GDB, for example, -you can usually use something like "<tt>call DAG.viewGraph()</tt>" to pop +you can usually use something like <tt>call DAG.viewGraph()</tt> to pop up a window. Alternatively, you can sprinkle calls to these functions in your code in places you want to debug.</p> @@ -529,6 +529,18 @@ it) to your path. Once in your system and path are set up, rerun the LLVM configure script and rebuild LLVM to enable this functionality.</p> +<p><tt>SelectionDAG</tt> has been extended to make it easier to locate +<i>interesting</i> nodes in large complex graphs. From gdb, if you +<tt>call DAG.setGraphColor(<i>node</i>, "<i>color</i>")</tt>, then the +next <tt>call DAG.viewGraph()</tt> would hilight the node in the +specified color (choices of colors can be found at <a +href="http://www.graphviz.org/doc/info/colors.html">Colors<a>.) More +complex node attributes can be provided with <tt>call +DAG.setGraphAttrs(<i>node</i>, "<i>attributes</i>")</tt> (choices can be +found at <a href="http://www.graphviz.org/doc/info/attrs.html">Graph +Attributes</a>.) If you want to restart and clear all the current graph +attributes, then you can <tt>call DAG.clearGraphAttrs()</tt>. </p> + </div> @@ -2281,7 +2293,7 @@ <a href="mailto:[EMAIL PROTECTED]">Dinakar Dhurjati</a> and <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2006/04/14 14:11:48 $ + Last modified: $Date: 2006/10/02 12:28:07 $ </address> </body> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits