[compiler-rt] r208574 - [ASan] Add references to the issue tracker about malloc/free/new/delete mismatch check on Mac and Windows

Timur Iskhodzhanov timurrrr at google.com
Mon May 12 08:07:00 PDT 2014


Author: timurrrr
Date: Mon May 12 10:06:59 2014
New Revision: 208574

URL: http://llvm.org/viewvc/llvm-project?rev=208574&view=rev
Log:
[ASan] Add references to the issue tracker about malloc/free/new/delete mismatch check on Mac and Windows

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=208574&r1=208573&r2=208574&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Mon May 12 10:06:59 2014
@@ -270,6 +270,8 @@ void InitializeFlags(Flags *f, const cha
   f->poison_heap = true;
   f->poison_partial = true;
   // Turn off alloc/dealloc mismatch checker on Mac and Windows for now.
+  // https://code.google.com/p/address-sanitizer/issues/detail?id=131
+  // https://code.google.com/p/address-sanitizer/issues/detail?id=309
   // TODO(glider,timurrrr): Fix known issues and enable this back.
   f->alloc_dealloc_mismatch = (SANITIZER_MAC == 0) && (SANITIZER_WINDOWS == 0);
   f->strict_memcmp = true;





More information about the llvm-commits mailing list