llvm-project/llvm/tools/llvm-cov
Sean Eveson 9edfeac9ea [llvm-cov] Add an option which maps the location of source directories on another machine to your local copies
Summary:
This patch adds the -path-equivalence option (example: llvm-cov show -path-equivalence=/origin/path,/local/path) which maps the source code path from one machine to another when using `llvm-cov show`. This is similar to the -filename-equivalence option, but doesn't require you to specify all the source files on the command line.

This allows you to generate the coverage data on one machine (e.g. in a CI system), and then use llvm-cov on another machine where you have the same code base on a different path.

Reviewers: vsk

Reviewed By: vsk

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36391

llvm-svn: 310827
2017-08-14 10:20:12 +00:00
..
CMakeLists.txt Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00
CodeCoverage.cpp [llvm-cov] Add an option which maps the location of source directories on another machine to your local copies 2017-08-14 10:20:12 +00:00
CoverageExporterJson.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
CoverageFilters.cpp
CoverageFilters.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageReport.cpp [llvm-cov] Rearrange entries in report index. 2017-08-09 20:43:31 +00:00
CoverageReport.h [llvm-cov] Demangle symbols in function summaries (fixes PR31394) 2017-02-05 20:11:03 +00:00
CoverageSummaryInfo.cpp [Coverage] Add an API to retrive all instantiations of a function (NFC) 2017-08-02 23:35:25 +00:00
CoverageSummaryInfo.h [Coverage] Add an API to retrive all instantiations of a function (NFC) 2017-08-02 23:35:25 +00:00
CoverageViewOptions.h [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
RenderingSupport.h NFC, add an "end namespace" comment for consistency 2016-06-23 16:27:08 +00:00
SourceCoverageView.cpp [llvm-cov] Ignore unclosed line segments when setting line counts 2017-08-04 00:36:24 +00:00
SourceCoverageView.h [llvm-cov] Ignore unclosed line segments when setting line counts 2017-08-04 00:36:24 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Rearrange entries in report index. 2017-08-09 20:43:31 +00:00
SourceCoverageViewHTML.h [llvm-cov] Rearrange entries in report index. 2017-08-09 20:43:31 +00:00
SourceCoverageViewText.cpp [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageViewText.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
TestingSupport.cpp [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
gcov.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-cov.cpp Retry: [llvm-cov] Add support for exporting coverage data to JSON 2016-07-26 22:50:58 +00:00