[PATCH] D36192: [tsan] Fix format string in WriteMemoryProfile
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 11:14:00 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310276: [tsan] Fix format string in WriteMemoryProfile (authored by kuba.brecka).
Changed prior to commit:
https://reviews.llvm.org/D36192?vs=109228&id=110036#toc
Repository:
rL LLVM
https://reviews.llvm.org/D36192
Files:
compiler-rt/trunk/lib/tsan/rtl/tsan_platform_mac.cc
Index: compiler-rt/trunk/lib/tsan/rtl/tsan_platform_mac.cc
===================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform_mac.cc
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform_mac.cc
@@ -167,8 +167,8 @@
#else // !SANITIZER_GO
"app (0x%016zx-0x%016zx): resident %zd kB, dirty %zd kB\n"
#endif
- "stacks: %ld unique IDs, %ld kB allocated\n"
- "threads: %ld total, %ld live\n"
+ "stacks: %zd unique IDs, %zd kB allocated\n"
+ "threads: %zd total, %zd live\n"
"------------------------------\n",
ShadowBeg(), ShadowEnd(), shadow_res / 1024, shadow_dirty / 1024,
MetaShadowBeg(), MetaShadowEnd(), meta_res / 1024, meta_dirty / 1024,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36192.110036.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170807/627ef1db/attachment.bin>
More information about the llvm-commits
mailing list