This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Generating object files from translation unit dumps?
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Rajeev Joshi <rjvjsh at hotmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 11 Feb 2004 20:21:13 -0500
- Subject: Re: Generating object files from translation unit dumps?
- Organization: Red Hat Canada
- References: <BAY1-F25mXEiLFkSOMF00032772@hotmail.com>
On Wed, 2004-02-11 at 20:11, Rajeev Joshi wrote:
> Hi,
>
> Is there a way to generate an object file from
> a translation unit dump?
>
No. .tu dumps are incomplete on purpose. This is a long standing
policy which has been debated at times, but we still need to follow it.
> (The reason I want to do this is that I'd like to
> do some analysis on the translation unit, maybe
> even make some small modifications, and then let
> the back end generate code from this.)
>
You will need to implement your analysis inside GCC. What are you
looking to implement? Perhaps we could help you with that.
Diego.