This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fdump-translation-unit does'nt dump as expected.
- From: Diego Novillo <dnovillo at google dot com>
- To: Praveen D V <for dot pdv at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Mon, 23 Mar 2009 10:28:08 -0400
- Subject: Re: -fdump-translation-unit does'nt dump as expected.
- References: <40d5b80e0903050725y63226c82l3c0aa209f3457f29@mail.gmail.com> <b798aad50903201212g12d080bcrf684245634369b0f@mail.gmail.com> <40d5b80e0903230717l4e1e7205y573dc9efb0aff140@mail.gmail.com>
On Mon, Mar 23, 2009 at 10:17, Praveen D V <for.pdv@gmail.com> wrote:
> With the new version I'm not able to get those dumps.
> I just downloaded latest release and compiled it. ÂIt too doesn't dump
> those typedef trees.
> Any other pointers?
You will need to modify the GCC dump routines yourself to dump the
typedefs. Start with dump_node and the calls made to dump_begin
(TDI_tu,...).
As I said before, these routines change almost constantly and we don't
even try to keep the output consistent. They are just debug
instruments for us.
Diego.