Oh, I tried that, in my previous email, I meant to write: this->DAG.viewGragh() DAG.viewGragh() sorry for the typo in my email... It does not complain about not finding DAG, it complains about not finding viewGragh() in DAG. A. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner Sent: Wednesday, September 26, 2007 12:03 PM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] viewGraph 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 itsays> that llvm::SelectionDAG does not have viewGraph(). It worked forcouple> 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/ _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> Oh, I tried that, in my previous email, I meant to write: > this->DAG.viewGragh() > DAG.viewGragh() > sorry for the typo in my email... > It does not complain about not finding DAG, it complains about not > finding viewGragh() in DAG.Gragh or Graph. Don't you mean viewGraph() ? Aaron
I guess I have to practice on my typing skills (or just take a break !)... Sorry for the confusion,, matter resolved. Cheers A. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Aaron Gray Sent: Wednesday, September 26, 2007 10:00 AM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] viewGraph> Oh, I tried that, in my previous email, I meant to write: > this->DAG.viewGragh() > DAG.viewGragh() > sorry for the typo in my email... > It does not complain about not finding DAG, it complains about not > finding viewGragh() in DAG.Gragh or Graph. Don't you mean viewGraph() ? Aaron _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Wed, 26 Sep 2007 Alireza.Moshtaghi at microchip.com wrote:> Oh, I tried that, in my previous email, I meant to write: > this->DAG.viewGragh() > DAG.viewGragh() > sorry for the typo in my email... > It does not complain about not finding DAG, it complains about not > finding viewGragh() in DAG.Sounds like a GDB bug then, I'd try upgrading to a newer version. Alternatively you can do things like add explicit calls in your code and recompile them in. -Chris> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Chris Lattner > Sent: Wednesday, September 26, 2007 12:03 PM > To: LLVM Developers Mailing List > Subject: Re: [LLVMdev] viewGraph > > 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 > >-Chris -- http://nondot.org/sabre/ http://llvm.org/