[llvm-cov] Do not print out the filename of the object file

When we load coverage data from multiple objects, we don't have a way to
attribute a source object to a function record. Printing out the object
filename next to the source filename is already not very useful: soon,
it'll actually become misleading. Stop printing out the filename now.

llvm-svn: 285043
This commit is contained in:
Vedant Kumar
2016-10-25 00:08:33 +00:00
parent 566a51d193
commit 5c61c70387
15 changed files with 25 additions and 56 deletions

View File

@@ -149,11 +149,6 @@ std::string SourceCoverageView::getSourceName() const {
return SourceText.str();
}
std::string SourceCoverageView::getVerboseSourceName() const {
return getSourceName() + " (Binary: " +
sys::path::filename(getOptions().ObjectFilename).str() + ")";
}
void SourceCoverageView::addExpansion(
const coverage::CounterMappingRegion &Region,
std::unique_ptr<SourceCoverageView> View) {