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
Fangrui Song adac7ac5fb [llvm-cov gcov] Don't require NUL terminator when reading files
.gcno, .gcda and source files can be modified while we are reading them. If the
concurrent modification of a file being read nullifies the NUL terminator
assumption, llvm-cov can trip over an assertion failure in MemoryBuffer::init.
This is not so rare - the source files can be in an editor and .gcda can be
written by an running process (if the process forks, when .gcda gets written is
probably more unpredictable).

There is no accompanying test because an assertion failure requires data
races with some involved setting.
2020-07-19 00:31:52 -07:00
..
CMakeLists.txt
CodeCoverage.cpp CoverageFilters.h - reduce unnecessary includes to forward declarations. NFC. 2020-05-27 16:57:47 +01:00
CoverageExporter.h
CoverageExporterJson.cpp [llvm-cov] Prevent llvm-cov from using too many threads 2020-04-24 15:28:25 -04:00
CoverageExporterJson.h
CoverageExporterLcov.cpp
CoverageExporterLcov.h
CoverageFilters.cpp CoverageFilters.h - reduce unnecessary includes to forward declarations. NFC. 2020-05-27 16:57:47 +01:00
CoverageFilters.h Fix -Wpedantic warning. NFC. 2020-05-27 15:57:03 -04:00
CoverageReport.cpp [llvm-cov] Prevent llvm-cov from using too many threads 2020-04-24 15:28:25 -04:00
CoverageReport.h
CoverageSummaryInfo.cpp
CoverageSummaryInfo.h
CoverageViewOptions.h
gcov.cpp [llvm-cov gcov] Don't require NUL terminator when reading files 2020-07-19 00:31:52 -07:00
llvm-cov.cpp
LLVMBuild.txt
RenderingSupport.h
SourceCoverageView.cpp
SourceCoverageView.h
SourceCoverageViewHTML.cpp
SourceCoverageViewHTML.h
SourceCoverageViewText.cpp
SourceCoverageViewText.h
TestingSupport.cpp