Revision tags: llvmorg-3.6.0-rc3 |
|
#
94695c4b |
| 02-Feb-2015 |
Justin Bogner <mail@justinbogner.com> |
InstrProf: Remove an unused header (NFC)
llvm-svn: 227881
|
Revision tags: llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1 |
|
#
d9903888 |
| 14-Jan-2015 |
Chandler Carruth <chandlerc@gmail.com> |
[cleanup] Re-sort all the #include lines in LLVM using utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the Inst
[cleanup] Re-sort all the #include lines in LLVM using utils/sort_includes.py.
I clearly haven't done this in a while, so more changed than usual. This even uncovered a missing include from the InstrProf library that I've added. No functionality changed here, just mechanical cleanup of the include order.
llvm-svn: 225974
show more ...
|
Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2 |
|
#
839353bc |
| 17-Dec-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused includes and out of date comment. NFC.
llvm-svn: 224413
|
Revision tags: llvmorg-3.5.1-rc1 |
|
#
d5fca924 |
| 14-Nov-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Sink some reporting logic into CoverageMapping
This teaches CoverageMapping::getCoveredFunctions to filter to a particular file and uses that to replace most of the logic found in llvm-cov
llvm-cov: Sink some reporting logic into CoverageMapping
This teaches CoverageMapping::getCoveredFunctions to filter to a particular file and uses that to replace most of the logic found in llvm-cov report.
llvm-svn: 221962
show more ...
|
#
d249a3b3 |
| 30-Oct-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Follow LLVM naming conventions
This renames a few things that are using an unusual naming convention.
llvm-svn: 220929
|
#
f6c50557 |
| 30-Oct-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Don't manually parse an option for no reason
We're using cl::opt here, but for some reason we're reading out one particular option by hand instead. This makes -help and the like behave rat
llvm-cov: Don't manually parse an option for no reason
We're using cl::opt here, but for some reason we're reading out one particular option by hand instead. This makes -help and the like behave rather poorly, so let's not do it this way.
llvm-svn: 220928
show more ...
|
#
19a93ba8 |
| 20-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Allow creating CoverageMappings from filenames
llvm-svn: 218185
|
#
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 ...
|
#
f584649a |
| 20-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Move some reader debug output out of the tool.
This debug output is really for testing CoverageMappingReader, not the llvm-cov tool. Move it to where it can be more useful.
llvm-svn: 2181
llvm-cov: Move some reader debug output out of the tool.
This debug output is really for testing CoverageMappingReader, not the llvm-cov tool. Move it to where it can be more useful.
llvm-svn: 218183
show more ...
|
#
5a6edad3 |
| 19-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Return unique_ptrs instead of filling objects (NFC)
Having create* functions return the object they create is more readable than using an in-out parameter.
llvm-svn: 218139
|
#
116c1664 |
| 19-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Generalize -filename-equivalence
The filename-equivalence flag allows you to show coverage when your source files don't have the same full paths as those that generated the data. This is m
llvm-cov: Generalize -filename-equivalence
The filename-equivalence flag allows you to show coverage when your source files don't have the same full paths as those that generated the data. This is mostly useful for writing tests in a cross-platform way.
This wasn't triggering in cases where the filename was derived directly from the coverage data, which meant certain types of test case were impossible to write. This patch fixes that, and following patches involve tests that need this.
llvm-svn: 218108
show more ...
|
#
1ae21d13 |
| 18-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Simplify FunctionInstantiationSetCollector (NFC)
- Replace std::unordered_map with DenseMap - Use std::pair instead of manually combining two unsigneds - Assert if insert is called with in
llvm-cov: Simplify FunctionInstantiationSetCollector (NFC)
- Replace std::unordered_map with DenseMap - Use std::pair instead of manually combining two unsigneds - Assert if insert is called with invalid arguments - Avoid an unnecessary copy of a std::vector
llvm-svn: 218074
show more ...
|
#
5cbed6e0 |
| 17-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Push some more debug output into the View (NFC)
llvm-svn: 217984
|
#
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 ...
|
#
5e1400a8 |
| 17-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Distinguish expansion/instantiation from SourceCoverageView
SourceCoverageView currently has "Kind" and a list of child views, all of which must have either an expansion or an instantiatio
llvm-cov: Distinguish expansion/instantiation from SourceCoverageView
SourceCoverageView currently has "Kind" and a list of child views, all of which must have either an expansion or an instantiation Kind. In addition to being an error-prone design, this makes it awkward to differentiate between the two child types and adds a number of optionally used members to the type.
Split the subview types into their own separate objects, and maintain lists of each rather than one combined "Children" list.
llvm-svn: 217940
show more ...
|
#
92bb3023 |
| 15-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Make debug output more consistent
This changes the debug output of the llvm-cov tool to consistently write to stderr, and moves the highlighting output closer to where it's relevant.
llvm
llvm-cov: Make debug output more consistent
This changes the debug output of the llvm-cov tool to consistently write to stderr, and moves the highlighting output closer to where it's relevant.
llvm-svn: 217838
show more ...
|
#
7dad93be |
| 15-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Clean up some redundancy in the view API (NFC)
This removes the need to pass a starting and ending line when creating a SourceCoverageView, since these are easy to determine.
llvm-svn: 21
llvm-cov: Clean up some redundancy in the view API (NFC)
This removes the need to pass a starting and ending line when creating a SourceCoverageView, since these are easy to determine.
llvm-svn: 217746
show more ...
|
#
15562d00 |
| 12-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Move FunctionCoverageMapping into CoverageMapping.h (NFC)
llvm-svn: 217657
|
#
3d7260e7 |
| 11-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
Revert "llvm-cov: Remove an overly system specific test"
This fixes a call to sys::fs::equivalent that should've been to CodeCoverageTool::equivalentFiles, which lets us restore the test of r217476
Revert "llvm-cov: Remove an overly system specific test"
This fixes a call to sys::fs::equivalent that should've been to CodeCoverageTool::equivalentFiles, which lets us restore the test of r217476 that was removed in r217478.
This reverts r217478, but the test works this time.
llvm-svn: 217646
show more ...
|
#
e53be066 |
| 09-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Combine two types that were nearly identical (NFC)
llvm-cov had a SourceRange type that was nearly identical to a CountedRegion except that it shaved off a couple of fields. There aren't l
llvm-cov: Combine two types that were nearly identical (NFC)
llvm-cov had a SourceRange type that was nearly identical to a CountedRegion except that it shaved off a couple of fields. There aren't likely to be enough of these for the minor memory savings to be worth the extra complexity here.
llvm-svn: 217417
show more ...
|
#
8e8aa3ff |
| 09-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Rename MappingRegion to coverage::CountedRegion (NFC)
This name was too similar to CoverageMappingRegion, and the type really belongs in the coverage library anyway.
llvm-svn: 217416
|
#
85b0a03a |
| 08-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Use ErrorOr rather than an error_code* (NFC)
llvm-svn: 217404
|
#
84ae925f |
| 08-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Remove dead code
FunctionCoverageMapping::PrettyName was from a version of the tool during review, and isn't actually used currently.
llvm-svn: 217398
|
#
bc1dc578 |
| 04-Sep-2014 |
Justin Bogner <mail@justinbogner.com> |
llvm-cov: Don't pointlessly create a unique_ptr (NFC)
There's no ownership going on here, and no reason to heap allocate this object.
llvm-svn: 217113
|
Revision tags: llvmorg-3.5.0, llvmorg-3.5.0-rc4 |
|
#
e82d89cc |
| 22-Aug-2014 |
Alex Lorenz <arphaman@gmail.com> |
llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo.
This commit expands llvm-cov's functionality by adding support for a new code coverage tool that uses LLVM's
llvm-cov: add code coverage tool that's based on coverage mapping format and clang's pgo.
This commit expands llvm-cov's functionality by adding support for a new code coverage tool that uses LLVM's coverage mapping format and clang's instrumentation based profiling. The gcov compatible tool can be invoked by supplying the 'gcov' command as the first argument, or by modifying the tool's name to end with 'gcov'.
Differential Revision: http://reviews.llvm.org/D4445
llvm-svn: 216300
show more ...
|