[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 04:30:21 PST 2014


LGTM

================
Comment at: lib/asan/asan_rtl.cc:713
@@ -712,3 +712,3 @@
     if (UNLIKELY(!asan_inited))
-      __asan_init();
+      AsanInitInternal();
   }
----------------
Make it AsanInitFromRtl for clarity, and remove the check for asan_inited - it is done first thing in AsanInitInternal.

http://reviews.llvm.org/D6265






More information about the llvm-commits mailing list