[PATCH] D71957: [llvm-size] print a blank line between archieve members when using sysv format
Xuanda Yang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 28 00:42:40 PST 2019
TH3CHARLie created this revision.
TH3CHARLie added a project: LLVM.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a reviewer: jhenderson.
This patch is related to https://bugs.llvm.org/show_bug.cgi?id=42967 and it fixes llvm-size's sysv format output by adding a blank line between archieve members
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71957
Files:
llvm/tools/llvm-size/llvm-size.cpp
Index: llvm/tools/llvm-size/llvm-size.cpp
===================================================================
--- llvm/tools/llvm-size/llvm-size.cpp
+++ llvm/tools/llvm-size/llvm-size.cpp
@@ -446,7 +446,7 @@
fmt << "%-" << max_name_len << "s "
<< "%#" << max_size_len << radix_fmt << "\n";
outs() << format(fmt.str().c_str(), static_cast<const char *>("Total"),
- total);
+ total) << "\n";
} else {
// The Berkeley format does not display individual section sizes. It
// displays the cumulative size for each section type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71957.235463.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191228/cffdec20/attachment.bin>
More information about the llvm-commits
mailing list