[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:
@@ -406,11 +406,8 @@ void SourceCoverageViewHTML::renderViewFooter(raw_ostream &OS) {
|
||||
}
|
||||
|
||||
void SourceCoverageViewHTML::renderSourceName(raw_ostream &OS, bool WholeFile) {
|
||||
OS << BeginSourceNameDiv;
|
||||
std::string ViewInfo = escape(
|
||||
WholeFile ? getVerboseSourceName() : getSourceName(), getOptions());
|
||||
OS << tag("pre", ViewInfo);
|
||||
OS << EndSourceNameDiv;
|
||||
OS << BeginSourceNameDiv << tag("pre", escape(getSourceName(), getOptions()))
|
||||
<< EndSourceNameDiv;
|
||||
}
|
||||
|
||||
void SourceCoverageViewHTML::renderLinePrefix(raw_ostream &OS, unsigned) {
|
||||
|
||||
Reference in New Issue
Block a user