[compiler-rt] r202470 - tsan: add new line at the end of error message

Dmitry Vyukov dvyukov at google.com
Thu Feb 27 22:29:42 PST 2014


Author: dvyukov
Date: Fri Feb 28 00:29:42 2014
New Revision: 202470

URL: http://llvm.org/viewvc/llvm-project?rev=202470&view=rev
Log:
tsan: add new line at the end of error message


Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_internal.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_internal.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_internal.h?rev=202470&r1=202469&r2=202470&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_internal.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_allocator_internal.h Fri Feb 28 00:29:42 2014
@@ -47,10 +47,10 @@ typedef SizeClassAllocatorLocalCache<Pri
 // LargeMmapAllocator.
 struct CrashOnMapUnmap {
   void OnMap(uptr p, uptr size) const {
-    RAW_CHECK_MSG(0, "Unexpected mmap in InternalAllocator!");
+    RAW_CHECK_MSG(0, "Unexpected mmap in InternalAllocator!\n");
   }
   void OnUnmap(uptr p, uptr size) const {
-    RAW_CHECK_MSG(0, "Unexpected munmap in InternalAllocator!");
+    RAW_CHECK_MSG(0, "Unexpected munmap in InternalAllocator!\n");
   }
 };
 





More information about the llvm-commits mailing list