[PATCH] Improvements for asan deactivated mode: disable asan	activation for runtime library on Linux, disable malloc checks.
    Evgeniy Stepanov 
    eugenis at google.com
       
    Fri Nov 14 07:33:36 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;
 
----------------
In fact, why are you changing allocator_may_return_null?  It's not a check but rather a conscious decision on malloc behavior.
http://reviews.llvm.org/D6265
    
    
More information about the llvm-commits
mailing list