[llvm-commits] [compiler-rt] r151051 - /compiler-rt/trunk/lib/asan/asan_allocator.cc

Timur Iskhodzhanov timurrrr at google.com
Tue Feb 21 01:58:40 PST 2012


Author: timurrrr
Date: Tue Feb 21 03:58:39 2012
New Revision: 151051

URL: http://llvm.org/viewvc/llvm-project?rev=151051&view=rev
Log:
[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows

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

Modified: compiler-rt/trunk/lib/asan/asan_allocator.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_allocator.cc?rev=151051&r1=151050&r2=151051&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_allocator.cc Tue Feb 21 03:58:39 2012
@@ -695,11 +695,6 @@
     Describe((uintptr_t)ptr, 1);
     ShowStatsAndAbort();
   } else if (m->chunk_state != CHUNK_ALLOCATED) {
-    if (ASAN_WINDOWS) {
-      // FIXME: On Windows there are a few extra "unknown free()s"
-      // from __endstdio, need investigating.
-      return;
-    }
     Report("ERROR: AddressSanitizer attempting free on address which was not"
            " malloc()-ed: %p\n", ptr);
     stack->PrintStack();





More information about the llvm-commits mailing list