On Wed, Jun 11, 2014 at 04:53:32PM +0400, Yury Gribov wrote: > On 06/11/2014 01:31 PM, Jakub Jelinek wrote: > >The plan (we had already for 4.9, but didn't get to that yet) is in the end > >not to lower the checks in asan pass that much, and lower it in sanopt > >pass later on after performing some inter-bb optimizations. > >... > >The reason for the plan is that it will be easier in the sanopt pass to > >try to remove redundant instrumentation, e.g. when dominator bb already > >checks a particular address/length and no calls that could change the > >validity of the checks happen between the dominator bb and the dominated > >__asan_load/storeX. > > Sounds great, should help get rid of many useless checks. > Do you guys need a hand with this?
That would be appreciated. > Like this? > > -Y > 2014-06-11 Yury Gribov <y.gri...@samsung.com> > > New asan-instrumentation-with-call-threshold parameter. Ok, thanks. Jakub