Vedant Kumar
c224828d48
[llvm-cov] Add a debug mode for source range highlighting (in html)
...
llvm-cov's `-dump' option now emits information which helps debug source
range highlighting in html mode.
llvm-svn: 276924
2016-07-27 21:57:15 +00:00
Vedant Kumar
9989a77c2e
Revert "[llvm-cov] Minor aesthetic improvements for html reports"
...
This reverts commit r276906. It breaks tests.
llvm-svn: 276908
2016-07-27 19:59:44 +00:00
Vedant Kumar
e18e67ba7d
[llvm-cov] Minor aesthetic improvements for html reports
...
This fixes the highlighting for lines without any coverage segments. I
don't have a neat way of testing this yet, but am working on it.
llvm-svn: 276906
2016-07-27 19:51:17 +00:00
Vedant Kumar
fa48858cb0
[llvm-cov] Don't copy stylesheets into index files
...
Just link in the stylesheet from the toplevel dir of the report.
llvm-svn: 276468
2016-07-22 20:49:23 +00:00
Vedant Kumar
9d63784d14
[llvm-cov] Use relative paths to the stylesheet (for html reports)
...
This makes it easy to swap out the default stylesheet for a custom one.
It also shaves ~6.62 MB out of the report directory for a full coverage
build of llvm+clang.
While we're at it, prune the CSS and add tests for it.
llvm-svn: 276359
2016-07-21 23:26:15 +00:00
Vedant Kumar
c649d529db
[llvm-cov] Place anchors around line numbers in html reports
...
Based on a suggestion by Harlan Haskins!
llvm-svn: 275840
2016-07-18 17:53:16 +00:00
Vedant Kumar
c62c146db0
[llvm-cov] Add support for creating html reports
...
Based on a patch by Harlan Haskins!
Differential Revision: http://reviews.llvm.org/D18278
llvm-svn: 274688
2016-07-06 21:44:05 +00:00