1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-cov
Vedant Kumar ac5e69bcee [llvm-cov] Silence a warning from the MSVC runtime (NFC)
Rework getLongestCommonPrefixLen() so that it doesn't access string null
terminators. The old version with std::mismatch would do this:

                        |
                        v
    Strings[0] = ['a', nil]

    Strings[1] = ['a', 'a', nil]
                        ^
                        |

This should silence a warning from the MSVC runtime (PR30515). As
before, I tested this out by preparing a coverage report for FileCheck.
Thanks to Yaron Keren for the report!

llvm-svn: 282422
2016-09-26 17:57:13 +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] Factor out logic to remove unmapped inputs (NFC) 2016-09-23 20:13:41 +00:00
CoverageExporterJson.cpp [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +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] Silence a warning from the MSVC runtime (NFC) 2016-09-26 17:57:13 +00:00
CoverageReport.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +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] Delete the NonCodeLines field, it was always dead 2016-09-19 01:46:01 +00:00
CoverageViewOptions.h [llvm-cov] - Included footer "Generated by llvm-cov -- llvm version <version number>" in the coverage report. 2016-09-13 11:28:31 +00:00
gcov.cpp Search for llvm-symbolizer binary in the same directory as argv[0], before 2016-06-09 00:53:21 +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] Move some layout logic to the right spot (NFC) 2016-09-15 06:49:13 +00:00
SourceCoverageView.h [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Get rid of all invalid filename references 2016-09-23 18:57:32 +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] Get rid of all invalid filename references 2016-09-23 18:57:32 +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