From 7522b906402a4526f85ba52c5408836e21fe4caf Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Tue, 29 Jul 2014 19:58:16 +0000 Subject: [PATCH] Coverage: fix the missing output stream in recursive call to CoverageMappingContext::dump llvm-svn: 214206 --- lib/ProfileData/CoverageMapping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ProfileData/CoverageMapping.cpp b/lib/ProfileData/CoverageMapping.cpp index 30132a3f749..f9becdd5b77 100644 --- a/lib/ProfileData/CoverageMapping.cpp +++ b/lib/ProfileData/CoverageMapping.cpp @@ -101,9 +101,9 @@ void CounterMappingContext::dump(const Counter &C, return; const auto &E = Expressions[C.getExpressionID()]; OS << '('; - dump(E.LHS); + dump(E.LHS, OS); OS << (E.Kind == CounterExpression::Subtract ? " - " : " + "); - dump(E.RHS); + dump(E.RHS, OS); OS << ')'; break; }