[PATCH] Improvements for asan deactivated mode: disable asan activation for runtime library on Linux, disable malloc checks.
Maria Guseva
m.guseva at samsung.com
Fri Nov 14 07:56:14 PST 2014
================
Comment at: lib/asan/asan_activation.cc:52
@@ -45,1 +51,3 @@
+ flags()->alloc_dealloc_mismatch = false;
+ common_flags()->allocator_may_return_null = false;
----------------
eugenis wrote:
> In fact, why are you changing allocator_may_return_null? It's not a check but rather a conscious decision on malloc behavior.
>
I wanted to disable ASan termination in this case. Now I see for that reason the flag should be true, not false. If it's fixed do you agree it makes sense?
http://reviews.llvm.org/D6265
More information about the llvm-commits
mailing list