[compiler-rt] r173784 - tsan: fix the message (tsan is not asan)

Dmitry Vyukov dvyukov at google.com
Tue Jan 29 01:39:58 PST 2013


Author: dvyukov
Date: Tue Jan 29 03:39:58 2013
New Revision: 173784

URL: http://llvm.org/viewvc/llvm-project?rev=173784&view=rev
Log:
tsan: fix the message (tsan is not asan)

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc?rev=173784&r1=173783&r2=173784&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc Tue Jan 29 03:39:58 2013
@@ -58,7 +58,7 @@ void *MmapOrDie(uptr size, const char *m
     if (recursion_count) {
       // The Report() and CHECK calls below may call mmap recursively and fail.
       // If we went into recursion, just die.
-      RawWrite("AddressSanitizer is unable to mmap\n");
+      RawWrite("ERROR: Failed to mmap\n");
       Die();
     }
     recursion_count++;





More information about the llvm-commits mailing list