Generating object files from translation unit dumps?

Diego Novillo dnovillo@redhat.com
Thu Feb 12 01:21:00 GMT 2004


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.



More information about the Gcc mailing list