public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* tutorials for gcc devel ?
@ 2004-09-07 17:18 Perret Yannick
  2004-09-07 19:44 ` Sebastian Pop
  0 siblings, 1 reply; 2+ messages in thread
From: Perret Yannick @ 2004-09-07 17:18 UTC (permalink / raw)
  To: gcc

Hello again,

I downloaded the GCC manual in order to understand
how job is performed within gcc. I still not have read
everything, but it seems to be a good reference manual
but not so good for understanding how to make a precise
thing.

Does someone knows a tutorial for such things (i.e.
changing/adding things in gcc) ?

In fact for my purpose I managed to add my own calls
(ala instrument-functions) and I also manage to add
new parameters to the __cyg_profile_func_enter, but
only 'int' parameters.
I failed to create a valid 'rtx' filled with a constant
string in the treated function to be transmited to __cyg...

I saw the function 'assign_stack_local' which seems to
be what I need, but I failed to store data inside it and to
obtain its local address to be sent in the emit_library_call.

I also saw that it is possible to create 'tree' elements to
hold constant string (build_string function), but I failed
to transform it into a valid 'rtx' for the emit_library_call.

Some clues of the way to do that ?

Thanks.


Regards,
--
Yannick Perret


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-07 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 17:18 tutorials for gcc devel ? Perret Yannick
2004-09-07 19:44 ` Sebastian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).