This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
dump-translation-unit
- From: "Eithan Eithan" <eithan77 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 20 Mar 2007 09:51:08 +0200
- Subject: dump-translation-unit
Good morning.
I would like to use gcc for limited source code analysis. I am
interested in description of declarations only. I found
"dump-translation-unit" option very useful for this, but unfortunately
it dumps only description of used declarations. I read the manuals and
searched the Internet, but was not able to find flag or combination of
flags that would cause gcc to dump all declarations.
I am afraid such functionality is not implemented, am I right? If so
can you suggest reasonable solution?
P.S. Please tell me that I wrong :-)
Thank you.