forked from OSchip/llvm-project
a0b9725479
The patch adds support for --hash-filenames to llvm-cov. This option adds md5 hash of the source path to the name of the generated .gcov file. The option is crucial for cases where you have multiple files with the same name but can't use --preserve-paths as resulting filenames exceed the limit. from gcov(1): ``` -x --hash-filenames By default, gcov uses the full pathname of the source files to to create an output filename. This can lead to long filenames that can overflow filesystem limits. This option creates names of the form source-file##md5.gcov, where the source-file component is the final filename part and the md5 component is calculated from the full mangled name that would have been used otherwise. ``` Patch by Igor Ignatev! Differential Revision: https://reviews.llvm.org/D58370 llvm-svn: 354379 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CodeCoverage.cpp | ||
CoverageExporter.h | ||
CoverageExporterJson.cpp | ||
CoverageExporterJson.h | ||
CoverageExporterLcov.cpp | ||
CoverageExporterLcov.h | ||
CoverageFilters.cpp | ||
CoverageFilters.h | ||
CoverageReport.cpp | ||
CoverageReport.h | ||
CoverageSummaryInfo.cpp | ||
CoverageSummaryInfo.h | ||
CoverageViewOptions.h | ||
LLVMBuild.txt | ||
RenderingSupport.h | ||
SourceCoverageView.cpp | ||
SourceCoverageView.h | ||
SourceCoverageViewHTML.cpp | ||
SourceCoverageViewHTML.h | ||
SourceCoverageViewText.cpp | ||
SourceCoverageViewText.h | ||
TestingSupport.cpp | ||
gcov.cpp | ||
llvm-cov.cpp |