[PATCH] D35284: Support: Add llvm::format_memory to convert number of bytes to human readable string.

Frederich Munch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 17:41:02 PDT 2017


marsupial created this revision.

When dumping memory or file statistics, it is easier to read suffixed values insert of number of bytes.


https://reviews.llvm.org/D35284

Files:
  include/llvm/Support/Format.h
  include/llvm/Support/raw_ostream.h
  lib/Support/raw_ostream.cpp
  unittests/Support/raw_ostream_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35284.106124.patch
Type: text/x-patch
Size: 4994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/8ad7ce26/attachment.bin>


More information about the llvm-commits mailing list