On Wed, Nov 26, 2014 at 11:42:57AM -0700, ygribov wrote:
> > Testing SANITIZE_ADDRESS bit in flag_sanitize_recover doesn't make sense,
> > testing it in flag_sanitize of course does, but for recover you care
> > whether
> > the SANITIZE_{KERNEL,USER}_ADDRESS bit in flag_sanitize_recover is set
> > depending on if SANITIZE_{KERNEL,USER}_ADDRESS is set in
> > flag_sanitize_recover.
>
> Ok, got it. BTW shouldn't we disable local optimization of ASan checks (in
> asan.c) as well? That would be a massive perf hit ...
Ah, you're right, we are already doing that. So let's just optimize always
even when recovering and we'll see if users don't complain too much.
Jakub