summaryrefslogtreecommitdiff
path: root/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-10-25 00:08:33 +0000
committerVedant Kumar <vsk@apple.com>2016-10-25 00:08:33 +0000
commit5b5c5e75554fa603d461df5135d41f364f7e71a3 (patch)
treed4af733981e2a692442083e15f3c40c3ac09aec1 /tools/llvm-cov/SourceCoverageView.cpp
parent01b89435ec22db6b42999dfc73a741c22826f91f (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-cov/SourceCoverageView.cpp')
-rw-r--r--tools/llvm-cov/SourceCoverageView.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/llvm-cov/SourceCoverageView.cpp b/tools/llvm-cov/SourceCoverageView.cpp
index 8b3ffe7c63a..52b8ff1747f 100644
--- a/tools/llvm-cov/SourceCoverageView.cpp
+++ b/tools/llvm-cov/SourceCoverageView.cpp
@@ -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) {