tsan: fix the message (tsan is not asan)
authorDmitry Vyukov <dvyukov@google.com>
Tue, 29 Jan 2013 09:39:58 +0000 (09:39 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 29 Jan 2013 09:39:58 +0000 (09:39 +0000)
llvm-svn: 173784

compiler-rt/lib/sanitizer_common/sanitizer_posix.cc

index 3265783..859be5a 100644 (file)
@@ -58,7 +58,7 @@ void *MmapOrDie(uptr size, const char *mem_type) {
     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++;