InstrProf: Use the stream when dumping counters

llvm-svn: 226968
This commit is contained in:
Justin Bogner 2015-01-23 23:46:13 +00:00
parent 70f2a736db
commit f69dc349d5

View File

@ -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;