[compiler-rt] r175766 - [ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest.

Alexander Potapenko glider at google.com
Thu Feb 21 09:12:22 PST 2013


Author: glider
Date: Thu Feb 21 11:12:21 2013
New Revision: 175766

URL: http://llvm.org/viewvc/llvm-project?rev=175766&view=rev
Log:
[ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit caused error reports in gTest.


Modified:
    compiler-rt/trunk/lib/asan/asan_rtl.cc

Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=175766&r1=175765&r2=175766&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Thu Feb 21 11:12:21 2013
@@ -164,7 +164,9 @@ void InitializeFlags(Flags *f, const cha
   f->fast_unwind_on_fatal = false;
   f->fast_unwind_on_malloc = true;
   f->poison_heap = true;
-  f->alloc_dealloc_mismatch = true;
+  // Turn off alloc/dealloc mismatch checker on Mac for now.
+  // TODO(glider): Fix known issues and enable this back.
+  f->alloc_dealloc_mismatch = (ASAN_MAC == 0);;
   f->use_stack_depot = true;  // Only affects allocator2.
 
   // Override from compile definition.





More information about the llvm-commits mailing list