https://llvm.org/bugs/show_bug.cgi?id=31395

            Bug ID: 31395
           Summary: llvm-cov report filtering without function coverage
                    display
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: d...@mapbox.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

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
(https://gist.github.com/springmeyer/b5a46888bd330f42f6430d9b78a54ca3). 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to