]> granicus.if.org Git - llvm/commitdiff
[llvm-profdata] Minor format fix
authorWenlei He <aktoon@gmail.com>
Mon, 7 Oct 2019 16:30:31 +0000 (16:30 +0000)
committerWenlei He <aktoon@gmail.com>
Mon, 7 Oct 2019 16:30:31 +0000 (16:30 +0000)
Summary: Minor format fix for output of "llvm-profdata -show"

Reviewers: wmi

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68440

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ProfileData/SampleProf.cpp

index 2150c5d5a70bb0601bf63509eddcc8f8327f2557..003e8d4d429690e59103cd146df1f50360c87775 100644 (file)
@@ -155,6 +155,7 @@ void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const {
         FS.second.print(OS, Indent + 4);
       }
     }
+    OS.indent(Indent);
     OS << "}\n";
   } else {
     OS << "No inlined callsites in this function\n";