diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-11-06 15:54:34 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-11-06 15:54:34 +0000 |
commit | e86c632015e2acb48c59ab25192e9987c0fd96a5 (patch) | |
tree | a8305669b9af223010a0920ddaaaf83074f56e20 | |
parent | a0be3e2c68419fe449e0d85237110c5e85af3b39 (diff) | |
download | bcm5719-llvm-e86c632015e2acb48c59ab25192e9987c0fd96a5.tar.gz bcm5719-llvm-e86c632015e2acb48c59ab25192e9987c0fd96a5.zip |
tsan: fix debug output
llvm-svn: 167463
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc index d91a2e13625..521271eeefc 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc @@ -79,7 +79,7 @@ void *MmapFixedNoReserve(uptr fixed_addr, uptr size) { 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; } |