<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - llvm-cov report filtering without function coverage display"
href="https://llvm.org/bugs/show_bug.cgi?id=31395">31395</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-cov report filtering without function coverage display
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dane@mapbox.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I've noticed that `llvm-cov report` shows per-file summaries when no source
files are passed. But when source files are passed, it seems to automatically
go into a new mode where per-function summaries are displayed. I think it would
be more ideal if function summaries were only enabled via an option. The reason
I think it would be better as an option is for the case where:
1. You want to filter out which source files contribute to the summary, but..
2. You don't want to see per-function output
Currently this appears not possible: you can't get per-function summary output
without manually passing source files. And you can't get per-file summary
output if you manually pass source files.
Here is a demonstration of the two modes
(<a href="https://gist.github.com/springmeyer/b5a46888bd330f42f6430d9b78a54ca3">https://gist.github.com/springmeyer/b5a46888bd330f42f6430d9b78a54ca3</a>). The
first is too verbose due to the function-summaries, and the latter is too
verbose due to dependency headers being included in the coverage report that
are not important.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>