[llvm-commits] [compiler-rt] r167463 - /compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc
Dmitry Vyukov
dvyukov at google.com
Tue Nov 6 07:54:34 PST 2012
Author: dvyukov
Date: Tue Nov 6 09:54:34 2012
New Revision: 167463
URL: http://llvm.org/viewvc/llvm-project?rev=167463&view=rev
Log:
tsan: fix debug output
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=167463&r1=167462&r2=167463&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc Tue Nov 6 09:54:34 2012
@@ -79,7 +79,7 @@
MAP_PRIVATE | MAP_ANON | MAP_FIXED | MAP_NORESERVE,
-1, 0);
if (p != (void*)fixed_addr)
- Report("ERROR: Failed to deallocate 0x%zx (%zd) bytes at address %p (%d)\n",
+ Report("ERROR: Failed to allocate 0x%zx (%zd) bytes at address %p (%d)\n",
size, size, fixed_addr, errno);
return p;
}
More information about the llvm-commits
mailing list