From 6881233a535f559ead8c39f243b014c1b9cd96ed Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 23 Jan 2015 23:46:13 +0000 Subject: [PATCH] InstrProf: Use the stream when dumping counters git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226968 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CoverageMappingGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CoverageMappingGen.cpp b/lib/CodeGen/CoverageMappingGen.cpp index 6f159d4737..f65b16c0a9 100644 --- a/lib/CodeGen/CoverageMappingGen.cpp +++ b/lib/CodeGen/CoverageMappingGen.cpp @@ -1028,7 +1028,7 @@ static void dump(llvm::raw_ostream &OS, const CoverageMappingRecord &Function) { OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = "; - Ctx.dump(R.Count); + Ctx.dump(R.Count, OS); OS << " (HasCodeBefore = " << R.HasCodeBefore; if (R.Kind == CounterMappingRegion::ExpansionRegion) OS << ", Expanded file = " << R.ExpandedFileID; -- 2.40.0