[LLVMdev] viewGraph

Chris Lattner sabre at nondot.org
Wed Sep 26 12:03:19 PDT 2007


On Wed, 26 Sep 2007 Alireza.Moshtaghi at microchip.com wrote:
> I am trying to use the viewGraph() method of SelectionDAG, of course I
> installed graghviz, nuked my build directory, reconfigured and rebuilt
> the project. However, gdb does not consistently recognize
> SelectionDAG::viewgraph(), some times it finds it and some times it says
> that llvm::SelectionDAG does not have viewGraph(). It worked for couple
> of instances when I was in my modules but when for example I am in
> LegalizeDAG::LegalizeOp() it is not recognized.

LegalizeDAG isn't an instance of SelectionDAG.  Try using 'call 
DAG.viewGraph()' if you're in a method in LegalizeDAG.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list