search for: nxer

Displaying 4 results from an estimated 4 matches for "nxer".

Did you mean: ner
2009 Jul 22
0
[LLVMdev] viewCFGOnly() function
...tion from a debugger (such as gdb). To call the function in you code simply add a line such as: F->viewCFGOnly(); Where F is an appropriate variable eg. a MachineFunction pointer If you are using gdb then you can do the following: call F->viewCFGOnly() from a point where F is live. David nxer wrote: > Hello All, > > I am trying to get basic CFG display to work. I have read the programmer's > manual and it mentions that we can simply call the viewCFGOnly() (part of > Function.h) from our sample program. When i read the comments for that > method in Function.h, it m...
2009 Jul 21
2
[LLVMdev] viewCFGOnly() function
Hello All, I am trying to get basic CFG display to work. I have read the programmer's manual and it mentions that we can simply call the viewCFGOnly() (part of Function.h) from our sample program. When i read the comments for that method in Function.h, it mentions that i need to call it from the gdb debugger instead. I am confused as to how to get this working. Do we need to call it from a
2009 Jul 23
0
[LLVMdev] viewCFGOnly() function
...ly interested in the CFG /// this can make the graph smaller. /// void viewCFGOnly() const; Which indicates that no arguments are necessary. You're getting a compile error because you are using F->viewCFGOnly() when F is not a pointer in your example. Try F.viewCFGOnly() instead David nxer wrote: > Hello David, > > Thanks for the reply. Would i not need to pass any arguments for > viewCFGOnly() method? According to this > http://llvm.org/doxygen/Function_8h-source.html seems like we need to? > > I am building it on top of the example shown at > http://llvm....
2009 Jul 23
2
[LLVMdev] viewCFGOnly() function
Hello David, Thanks for the reply. Would i not need to pass any arguments for viewCFGOnly() method? According to this http://llvm.org/doxygen/Function_8h-source.html seems like we need to? I am building it on top of the example shown at http://llvm.org/docs/WritingAnLLVMPass.html and just added 'F->viewCFGOnly(); line to it. It doesn't compile, i suspect it has to do with the way i