On Mon, Apr 21, 2014 at 3:31 PM, Yuri Gribov <[email protected]> wrote:
>>> GCC with it's default dynamic runtime would suffer quite a bit...
>>
>> Only if the out-line calls will be used (in clang, this is a
>> workaround for a bad compile-time, we'll use out-line functions only
>> when there are more than 10000 checks in a function).
>
> Right, this may be enough for Clang's needs (pathalogical codes with
> thousands memory accesses) but will slow down my usecase quite a bit
> (I admit that I may be the only one who's interested though).
>
> I can probably get away with manually adding -lmy_private_asan_checks
> to CFLAGS to override default Asan callback implemenation with it's
> PLT overheads but IMHO making upstream implementation slower than
> necessary is questionable.
>
>> Hold on a bit here. First, my recent patches have a bug around
>> handling of memset&co,
>> second I am considering to competely replace memset&co calls with
>> another function call -- this will solve some other problems as well,
>> but it needs performance evaluation...
>
> Cool, ping us when it's in.

It's there.
asan may still emit inlined checks for things like 'long double'

>
> -Y
>
> --
> You received this message because you are subscribed to the Google Groups 
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to