Re: Identifying global state within GCC

2013-05-02 Thread David Malcolm
On Thu, 2013-05-02 at 12:38 -0400, David Malcolm wrote: > On Thu, 2013-05-02 at 07:20 -0600, Jeff Law wrote: > > On 05/01/2013 02:32 PM, David Malcolm wrote: > > > I had a go at writing a custom pass to try to locate places where GCC > > > makes use of global state. > > > > > > You can see the pass

Re: Identifying global state within GCC

2013-05-02 Thread Jeff Law
On 05/01/2013 02:32 PM, David Malcolm wrote: I had a go at writing a custom pass to try to locate places where GCC makes use of global state. You can see the pass here (which I implemented using gcc-python-plugin): https://gcc-python-plugin.readthedocs.org/en/latest/working-with-c.html#finding-g