This is the mail archive of the gcc-help@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: printing ddg for each basic block


Wei Li <weili747@gmail.com> writes:

> I need to print ddg for each basic block in CFG. I used  option -dv.
> However, it gives a DAG for CFG where each node is a basic block. I
> see a function "vcg_print_ddg(FILE* file, ddg_ptr)" in the ddg.c file.
> It means that you can have a ddg for each basic block in the CVG
> format. How can I activate this using gcc options like -dv etc.?

I don't think you can.  I think that all you can do with that function
is call it from the debugger.

Ian


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