This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Generating object files from translation unit dumps?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]