This is the mail archive of the
gcc-help@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-help at gcc dot gnu dot org
- Date: Fri, 20 Mar 2009 15:12:49 -0400
- Subject: Re: -fdump-translation-unit does'nt dump as expected.
- References: <40d5b80e0903050725y63226c82l3c0aa209f3457f29@mail.gmail.com>
On Thu, Mar 5, 2009 at 11:25, Praveen D V <for.pdv@gmail.com> wrote:
> $gcc -fdump-translation-unit try.c
> Âgenerates try.c.001t.tu (earlier versions generated try.c.tu). I
> don't see any reference of MyStruct in the generated file.
> Please help, am I missing any thing in the process?
The dumps are meant to be used when debugging the compiler. They are
not meant to be complete. In particular global type definitions are
never dumped.
Diego.