This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cgraph instrumentation
- From: Chassin <chassin at ceis dot cujae dot edu dot cu>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 24 Jan 2013 10:30:37 -0500
- Subject: cgraph instrumentation
- References: <CAFiYyc1vz+zF-MF7k2kdzWy20JtZpP7-USnh4mhaitO48Wsb_g@mail.gmail.com>
On Thu, Jan 24, 2013 at 7:35 AM, Chassin <chassin@ceis.cujae.edu.cu> wrote:
i am going slowly i started with gcc flow , data structure and passes .As
Java is my best language , i am dealing with advanced c / c++ learning curve
at same time , one of my targets now is understanding the cgraph data
structure and be able to instrument it .
i would like to be able to
1- remove a cgraph_node completely from the application
2- remove , insert edges between cgraph_nodes
3- insert new cgraph_node
can you pleas guide me throw the process of learning ?
The tasks do not make sense from a program transformation point of view.
You can certainly operate on the cgraph like that but it will have no effect
on the resulting program.
Richard.
48 Aniversario del Instituto Superior Politecnico Jose Antonio Echeverria, Cujae
Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu