llvm-cov: Push some more debug output into the View (NFC)

llvm-svn: 217984
This commit is contained in:
Justin Bogner
2014-09-17 21:48:52 +00:00
parent cf93cbb7a4
commit 5cbed6e09e
3 changed files with 7 additions and 27 deletions

View File

@@ -235,6 +235,10 @@ void SourceCoverageView::render(raw_ostream &OS, bool WholeFile,
OS << "\n";
}
// Render the child subview
if (Options.Debug)
errs() << "Expansion at line " << NextESV->getLine() << ", "
<< NextESV->getStartCol() << " -> " << NextESV->getEndCol()
<< "\n";
NextESV->View->render(OS, false, NestedIndent);
RenderedSubView = true;
}