Re: Segfault inserting a pass

2010-02-17 Thread Richard Guenther
On Wed, Feb 17, 2010 at 8:00 PM, Saleel Kudchadker wrote: > Hi I am working on calling the instrument function before every > function call automatically. I tried inserting this pass which would > add my function to every edge > > // > > static unsigned int

Segfault inserting a pass

2010-02-17 Thread Saleel Kudchadker
Hi I am working on calling the instrument function before every function call automatically. I tried inserting this pass which would add my function to every edge // static unsigned int spmm_insert(void){ struct cgraph_edge *e; struct cgraph_node *nod