diff --git a/clang/lib/CodeGen/CoverageMappingGen.cpp b/clang/lib/CodeGen/CoverageMappingGen.cpp index 6f159d47375e84382243d20b49c183c67910fbce..f65b16c0a9fcd7028658c4e0d191dbc61074b923 100644 --- a/clang/lib/CodeGen/CoverageMappingGen.cpp +++ b/clang/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;