From: "Perret Yannick" <yperret@in2p3.fr>
To: gcc@gcc.gnu.org
Subject: tutorials for gcc devel ?
Date: Tue, 07 Sep 2004 17:18:00 -0000 [thread overview]
Message-ID: <413DED5D.30707@ccimap.in2p3.fr> (raw)
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
next reply other threads:[~2004-09-07 17:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 17:18 Perret Yannick [this message]
2004-09-07 19:44 ` Sebastian Pop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=413DED5D.30707@ccimap.in2p3.fr \
--to=yperret@in2p3.fr \
--cc=gcc@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).