[PATCH] D68440: [llvm-profdata] Minor format fix

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 19:03:40 PDT 2019


wenlei created this revision.
wenlei added a reviewer: wmi.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Minor format fix for output of "llvm-profdata -show"


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68440

Files:
  llvm/lib/ProfileData/SampleProf.cpp


Index: llvm/lib/ProfileData/SampleProf.cpp
===================================================================
--- llvm/lib/ProfileData/SampleProf.cpp
+++ llvm/lib/ProfileData/SampleProf.cpp
@@ -156,6 +156,7 @@
         FS.second.print(OS, Indent + 4);
       }
     }
+    OS.indent(Indent);
     OS << "}\n";
   } else {
     OS << "No inlined callsites in this function\n";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68440.223132.patch
Type: text/x-patch
Size: 377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/1c48ecc0/attachment.bin>


More information about the llvm-commits mailing list