[compiler-rt] r180093 - [ASan] Disable AddressSanitizer.AllocDeallocMismatch on Darwin.
Alexander Potapenko
glider at google.com
Tue Apr 23 05:14:55 PDT 2013
Author: glider
Date: Tue Apr 23 07:14:55 2013
New Revision: 180093
URL: http://llvm.org/viewvc/llvm-project?rev=180093&view=rev
Log:
[ASan] Disable AddressSanitizer.AllocDeallocMismatch on Darwin.
See https://code.google.com/p/address-sanitizer/issues/detail?id=131.
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=180093&r1=180092&r2=180093&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Tue Apr 23 07:14:55 2013
@@ -1082,7 +1082,9 @@ TEST(AddressSanitizer, AttributeNoAddres
}
// It doesn't work on Android, as calls to new/delete go through malloc/free.
-#if !defined(ANDROID) && !defined(__ANDROID__)
+// Neither it does on OS X, see
+// https://code.google.com/p/address-sanitizer/issues/detail?id=131.
+#if !defined(ANDROID) && !defined(__ANDROID__) && !defined(__APPLE__)
static string MismatchStr(const string &str) {
return string("AddressSanitizer: alloc-dealloc-mismatch \\(") + str;
}
More information about the llvm-commits
mailing list