From a422911c3aab9143d6bb4156e91426d5587f7c6b 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 --- llvm/lib/ProfileData/CoverageMapping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/ProfileData/CoverageMapping.cpp b/llvm/lib/ProfileData/CoverageMapping.cpp index 30132a3..f9becdd 100644 --- a/llvm/lib/ProfileData/CoverageMapping.cpp +++ b/llvm/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; } -- 2.7.4