Re: Problem with instrumenting GIMPLE for adding a global variable

2005-08-20 Thread Prateek Saxena
Sorry, my mistake. I initialized it with a value, and it appeared in the .data. :) > Hi, > > I am trying to implement a prototype pass that instruments a function > to check for safe memory accesses. As a starting point I looked at > mudflap1 pass, in tree-mudflap.c and decided that I should wr

Problem with instrumenting GIMPLE for adding a global variable

2005-08-20 Thread Prateek Saxena
Hi, I am trying to implement a prototype pass that instruments a function to check for safe memory accesses. As a starting point I looked at mudflap1 pass, in tree-mudflap.c and decided that I should write a dummy pass ( very simple, but similar to mudflap) that instruments the code to count the n