[compiler-rt] r208089 - [sanitizer] Print addresses in hexadecimal.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue May 6 07:01:13 PDT 2014
Author: eugenis
Date: Tue May 6 09:01:13 2014
New Revision: 208089
URL: http://llvm.org/viewvc/llvm-project?rev=208089&view=rev
Log:
[sanitizer] Print addresses in hexadecimal.
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=208089&r1=208088&r2=208089&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_posix.cc Tue May 6 09:01:13 2014
@@ -136,7 +136,7 @@ void *MmapFixedNoReserve(uptr fixed_addr
int reserrno;
if (internal_iserror(p, &reserrno))
Report("ERROR: %s failed to "
- "allocate 0x%zx (%zd) bytes at address %zu (errno: %d)\n",
+ "allocate 0x%zx (%zd) bytes at address %zx (errno: %d)\n",
SanitizerToolName, size, size, fixed_addr, reserrno);
IncreaseTotalMmap(size);
return (void *)p;
@@ -152,7 +152,7 @@ void *MmapFixedOrDie(uptr fixed_addr, up
int reserrno;
if (internal_iserror(p, &reserrno)) {
Report("ERROR: %s failed to "
- "allocate 0x%zx (%zd) bytes at address %zu (errno: %d)\n",
+ "allocate 0x%zx (%zd) bytes at address %zx (errno: %d)\n",
SanitizerToolName, size, size, fixed_addr, reserrno);
CHECK("unable to mmap" && 0);
}
More information about the llvm-commits
mailing list