This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Control Flow Graphs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]