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: Generate annotations for a binary translator


ééä <chenwj@iis.sinica.edu.tw> writes:

>>   Can I dump other information such as CFG in a similar way as register
>> usage does?
>
>   At the end of the link belows,
>   http://gcc.gnu.org/onlinedocs/gccint/Maintaining-the-CFG.html#Maintaining-the-CFG
>
>   It says,
>
> "Note that at present, the representation of control flow in the tree
> representation is discarded before expanding to RTL. Long term the CFG
> should be maintained and "expanded" to the RTL representation along
> with the function tree itself."
>
>   Does this mean in the end of GCC compilation, the CFG information is
> lost? Thanks!

That documentation is out of date.  The CFG is now retained through most
of the RTL passes.

Ian


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