search for: dotgraphtraitsmodule

Displaying 1 result from an estimated 1 matches for "dotgraphtraitsmodule".

2013 Jan 10
0
[LLVMdev] Call graph printer/viewer
...e member function to see/print the MachineFunction as a graph. Passes not available. I think because MachineFunctions can only be viewed/printed on debug builds I chosen to follow the first alternative. However, it works only for FunctionPass, while I need a ModulePass, so I defined DOTGraphTraitsModule{Viewer,Printer} for handling Module viewer/helpers and I exploited them for providing call graph viewer/printer. Attached is the patch. In the case it is OK, maybe DOTGraphTraits{Viewer,Printer} should be renamed in something like DOTGraphTraitsFunction{Viewer,Printer} to point out that they handl...