#
b2edd11f |
| 15-Sep-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Make a method name more accurate (NFC)
llvm-svn: 281581
|
#
b1c174aa |
| 10-Sep-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Move the 'jump to first unexecuted line' link
Having it in the same row as the source name is jarring. Move it next to the "Source" column label.
llvm-svn: 281146
|
#
a59334da |
| 09-Sep-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Emit a summary in the report directory's index
llvm-cov writes out an index file in '-output-dir' mode, albeit not a very informative one. Try to fix that by using the CoverageReport API
[llvm-cov] Emit a summary in the report directory's index
llvm-cov writes out an index file in '-output-dir' mode, albeit not a very informative one. Try to fix that by using the CoverageReport API to include some basic summary information in the index file.
llvm-svn: 281011
show more ...
|
#
aae0ba70 |
| 09-Sep-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Constify some methods (NFC)
llvm-svn: 281010
|
#
0053c0b6 |
| 08-Sep-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Use less space to describe source names
In r279628, we made SourceCoverageView list the binary associated with a view and started adding labels (e.g "Source: foo" or "Function: bar") to e
[llvm-cov] Use less space to describe source names
In r279628, we made SourceCoverageView list the binary associated with a view and started adding labels (e.g "Source: foo" or "Function: bar") to everything. Condense this information a bit to unclutter reports.
llvm-svn: 280896
show more ...
|
#
24e91bd0 |
| 06-Sep-2016 |
Ying Yi <maggieyi666@gmail.com> |
[llvm-cov] Add the project summary to the text coverage report for each source file.
This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feat
[llvm-cov] Add the project summary to the text coverage report for each source file.
This patch is a spin-off from https://reviews.llvm.org/D23922. It extends the text view to preserve the same feature as the html view.
Differential Revision: https://reviews.llvm.org/D24241
llvm-svn: 280756
show more ...
|
#
d36b47c4 |
| 06-Sep-2016 |
Ying Yi <maggieyi666@gmail.com> |
[llvm-cov] Add the "Go to first unexecuted line" feature.
This patch provides easy navigation to find the zero count lines, especially useful when the source file is very large.
Differential Revisi
[llvm-cov] Add the "Go to first unexecuted line" feature.
This patch provides easy navigation to find the zero count lines, especially useful when the source file is very large.
Differential Revision: https://reviews.llvm.org/D23277
llvm-svn: 280739
show more ...
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3 |
|
#
84dc971e |
| 24-Aug-2016 |
Ying Yi <maggieyi666@gmail.com> |
[llvm-cov] Add the project summary to each source file coverage report.
This patch includes the following changes: - Included header "Code coverage report" and include the date that the report was c
[llvm-cov] Add the project summary to each source file coverage report.
This patch includes the following changes: - Included header "Code coverage report" and include the date that the report was created. - Included title (as specified in a command line option, (i.e llvm-cov -project-title="Simple Test") - In the summary, list the elf files that the source code file has contributed to. - Used column heading for "Line No.", "Count No.", Source".
Differential Revision: https://reviews.llvm.org/D23345
llvm-svn: 279628
show more ...
|
Revision tags: llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1 |
|
#
c076c490 |
| 21-Jul-2016 |
Vedant Kumar <vsk@apple.com> |
[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 f
[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
show more ...
|
#
d6d192cd |
| 29-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Use relative paths to file reports in -output-dir mode
This makes it possible to e.g copy a report to another filesystem.
llvm-svn: 274173
|
#
8d74cb27 |
| 29-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Minor cleanups to prepare for the html format patch
- Add renderView{Header,Footer}, renderLineSuffix, and hasSubViews to support creating tables with nested views.
- Move the 'Format'
[llvm-cov] Minor cleanups to prepare for the html format patch
- Add renderView{Header,Footer}, renderLineSuffix, and hasSubViews to support creating tables with nested views.
- Move the 'Format' cl::opt to make it easier to extend.
- Just create one function view file, instead of overwriting the same file for every new function. Add a regression test for this.
llvm-svn: 274086
show more ...
|
#
9cbad2c2 |
| 28-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Create an index of reports in -output-dir mode
This index lists the reports available in the 'coverage' sub-directory. This will help navigate coverage output from large projects.
This c
[llvm-cov] Create an index of reports in -output-dir mode
This index lists the reports available in the 'coverage' sub-directory. This will help navigate coverage output from large projects.
This commit factors the file creation code out of SourceCoverageView and into CoveragePrinter.
llvm-svn: 274029
show more ...
|
#
7937ef37 |
| 28-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
Reapply "[llvm-cov] Add an -output-dir option for the show sub-command""
Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if it doesn't already exist, and prints reports into tha
Reapply "[llvm-cov] Add an -output-dir option for the show sub-command""
Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if it doesn't already exist, and prints reports into that directory.
In function view mode, all views are written into path/to/dir/functions.$EXTENSION. In file view mode, all views are written into path/to/dir/coverage/$PATH.$EXTENSION.
Changes since the initial commit:
- Avoid accidentally closing stdout twice.
llvm-svn: 273985
show more ...
|
#
a48d9fe8 |
| 28-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
Revert "[llvm-cov] Add an -output-dir option for the show sub-command"
This reverts commit r273971. test/profile/instrprof-visibility.cpp is failing because of an uncaught error in SafelyCloseFileDe
Revert "[llvm-cov] Add an -output-dir option for the show sub-command"
This reverts commit r273971. test/profile/instrprof-visibility.cpp is failing because of an uncaught error in SafelyCloseFileDescriptor.
llvm-svn: 273978
show more ...
|
#
02507c43 |
| 28-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Add an -output-dir option for the show sub-command
Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if it doesn't already exist, and prints reports into that directory
[llvm-cov] Add an -output-dir option for the show sub-command
Passing -output-dir path/to/dir to llvm-cov show creates path/to/dir if it doesn't already exist, and prints reports into that directory.
In function view mode, all views are written into path/to/dir/functions.$EXTENSION. In file view mode, all views are written into path/to/dir/coverage/$PATH.$EXTENSION.
llvm-svn: 273971
show more ...
|
#
861a19c2 |
| 26-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Simplify the way expansion views are rendered (NFC)
If a sub-view has already been rendered, it's helpful to re-render the expansion site before rendering the next expansion view. Make th
[llvm-cov] Simplify the way expansion views are rendered (NFC)
If a sub-view has already been rendered, it's helpful to re-render the expansion site before rendering the next expansion view. Make this fact explicit in the rendering interface, instead of hiding it behind an awkward Optional<LineRef> parameter.
llvm-svn: 273789
show more ...
|
#
8b12ecb7 |
| 25-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Make an API more consistent, NFC
Make renderExpansionView() look a bit more like renderLine(), and clarify its doxygen comment.
llvm-svn: 273773
|
#
ee5a5e9b |
| 25-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Flesh out some doxygen comments, NFC
llvm-svn: 273772
|
#
f9151b93 |
| 25-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Separate presentation logic from formatting logic, NFC
This makes it easier to add renderers for new kinds of output formats.
- Define and document a pure-virtual coverage rendering inte
[llvm-cov] Separate presentation logic from formatting logic, NFC
This makes it easier to add renderers for new kinds of output formats.
- Define and document a pure-virtual coverage rendering interface. - Move the text-based rendering logic into its a new file. - Re-work the API to better reflect the presentation/formatting split.
llvm-svn: 273767
show more ...
|
#
9d70d0b5 |
| 24-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Add SourceNames to SourceCoverageViews, NFC
A SourceName can be a file or a function. It makes sense to attach this information to a SourceCoverageView, seeing as views (1) already point
[llvm-cov] Add SourceNames to SourceCoverageViews, NFC
A SourceName can be a file or a function. It makes sense to attach this information to a SourceCoverageView, seeing as views (1) already point to the text corresponding to the relevant source code and (2) are already used to render that text along with the SourceNames.
This is a nice cleanup which is independent of the upcoming html patch.
While we're at it, document the fields in SourceCoverageView.
llvm-svn: 273634
show more ...
|
#
60dcb48a |
| 24-Jun-2016 |
Vedant Kumar <vsk@apple.com> |
[llvm-cov] Rename SourceCoverageView::LineCoverageInfo to LineCoverageStats, NFC
Pull LineCoverageInfo out of SourceCoverageView and rename it so that it doesn't conflict with another class of the s
[llvm-cov] Rename SourceCoverageView::LineCoverageInfo to LineCoverageStats, NFC
Pull LineCoverageInfo out of SourceCoverageView and rename it so that it doesn't conflict with another class of the same name in CoverageSummaryInfo.h.
This cuts down on the amount of code we have to move into a `protected` section of SourceCoverageView for the upcoming html patch. It also makes the code a bit clearer: having two LineCoverageInfo's is strange.
llvm-svn: 273633
show more ...
|
Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
dc707122 |
| 29-Apr-2016 |
Easwaran Raman <eraman@google.com> |
Move coverage related code into a separate library.
Differential Revision: http://reviews.llvm.org/D19333
llvm-svn: 268089
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1, llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4, llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1, llvmorg-3.6.1-rc1, llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0 |
|
#
4d7aae93 |
| 23-Feb-2015 |
Justin Bogner <mail@justinbogner.com> |
InstrProf: Teach llvm-cov to show the max count instead of the last
When multiple regions start on the same line, llvm-cov was just showing the count of the last one as the line count. This can be c
InstrProf: Teach llvm-cov to show the max count instead of the last
When multiple regions start on the same line, llvm-cov was just showing the count of the last one as the line count. This can be confusing and misleading for things like one-liner loops, where the count at the end isn't very interesting, or even "if" statements with an opening brace at the end of the line.
Instead, use the maximum of all of the region start counts.
llvm-svn: 230263
show more ...
|
Revision tags: llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1, llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1 |
|
#
953e2407 |
| 20-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Disentangle the coverage data logic from the display (NFC)
This splits the logic for actually looking up coverage information from the logic that displays it. These were tangled rather tho
llvm-cov: Disentangle the coverage data logic from the display (NFC)
This splits the logic for actually looking up coverage information from the logic that displays it. These were tangled rather thoroughly so this change is a bit large, but it mostly consists of moving things around. The coverage lookup logic itself now lives in the library, rather than being spread between the library and the tool.
llvm-svn: 218184
show more ...
|
#
fe357c00 |
| 17-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Rework the API for getting the coverage of a file (NFC)
This encapsulates how we handle the coverage regions of a file or function. In the old model, the user had to deal with nested regio
llvm-cov: Rework the API for getting the coverage of a file (NFC)
This encapsulates how we handle the coverage regions of a file or function. In the old model, the user had to deal with nested regions, so they needed to maintain their own auxiliary data structures to get any useful information out of this. The new API provides a sequence of non-overlapping coverage segments, which makes it possible to render coverage information in a single pass and avoids a fair amount of extra work.
llvm-svn: 217975
show more ...
|