Control Flow Graphs

Paul Yuan yingbo.com@gmail.com
Mon Oct 16 14:44:00 GMT 2006


Call dump_flow_info() defined in cfg.c to output the pred and succ of
each block.  You can use this output to construct the CFG.

Maybe the software graphviz can help you to visualize the CFG.

On 10/16/06, Rob Quill <rob.quill@gmail.com> wrote:
> Hi,
>
> Does anyone know if it is possible to view/access/print out the
> control flow graphs produced by GCC, either at compilation time, or
> after compilation has taken place?
>
> Thanks for your time.
>
> Rob
>


-- 
Paul Yuan
www.yingbo.com



More information about the Gcc mailing list