llvm/tools/llvm-cov
Vedant Kumar 10ad4e00d9 [llvm-cov] Strip redundant path components from filenames (fix PR31982)
Instead of stripping the longest common prefix off of the filenames in a
report, strip out the longest chain of redundant path components. This
fixes the case in PR31982, where there are two files with the same
prefix, and stripping out the LCP makes things less intelligible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296029 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-23 22:20:32 +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] Respect Windows line endings when parsing demangled symbols. 2017-02-19 14:26:52 +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 llvm-cov: Disentangle the coverage data logic from the display (NFC) 2014-09-20 15:31:56 +00:00
CoverageFilters.h Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
CoverageReport.cpp [llvm-cov] Strip redundant path components from filenames (fix PR31982) 2017-02-23 22:20:32 +00:00
CoverageReport.h [llvm-cov] Demangle symbols in function summaries (fixes PR31394) 2017-02-05 20:11:03 +00:00
CoverageSummaryInfo.cpp [llvm-cov] Delete the NonCodeLines field, it was always dead 2016-09-19 01:46:01 +00:00
CoverageSummaryInfo.h [llvm-cov] Refactor logic for storing demangled symbols, NFC 2017-02-05 20:10:58 +00:00
CoverageViewOptions.h [llvm-cov] Do not print out the filename of the object file 2016-10-25 00:08:33 +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
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] Do not print out the filename of the object file 2016-10-25 00:08:33 +00:00
SourceCoverageView.h Remove duplicated default move ctors/move assign. No functional change. 2016-10-27 15:23:44 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Avoid 0% when reporting something that's 0/0 2016-11-21 14:00:04 +00:00
SourceCoverageViewHTML.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +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 Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +00:00