1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools/llvm-cov
Max Moroz 77b6992a91 [llvm-cov] Prevent llvm-cov from hanging when a symblink doesn't exist.
Summary:
Previous code hangs indefinitely when trying to iterate through a
symbol link file that points to an non-exist directory. This change
fixes the bug to make the addCollectedPath function exit ealier and
print out correct warning messages.

Patch by Yuke Liao (@liaoyuke).

Reviewers: Dor1s, vsk

Reviewed By: vsk

Subscribers: bruno, mgrang, llvm-commits

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

llvm-svn: 329338
2018-04-05 19:43:24 +00:00
..
CMakeLists.txt
CodeCoverage.cpp [llvm-cov] Prevent llvm-cov from hanging when a symblink doesn't exist. 2018-04-05 19:43:24 +00:00
CoverageExporter.h [llvm-cov] Refactor "export" command implementation and add support for SOURCES. 2018-01-04 19:33:29 +00:00
CoverageExporterJson.cpp [llvm-cov] Skip unnecessary coverage computations for "export -summary-only". 2018-01-12 20:31:32 +00:00
CoverageExporterJson.h [llvm-cov] Skip unnecessary coverage computations for "export -summary-only". 2018-01-12 20:31:32 +00:00
CoverageFilters.cpp [llvm-cov] Improve const-correctness of filters. NFC. 2017-09-27 08:32:36 +00:00
CoverageFilters.h [llvm-cov] Improve const-correctness of filters. NFC. 2017-09-27 08:32:36 +00:00
CoverageReport.cpp [llvm-cov] Multi-threaded implementation of prepareFileReports method. 2018-01-05 16:15:07 +00:00
CoverageReport.h [llvm-cov] Multi-threaded implementation of prepareFileReports method. 2018-01-05 16:15:07 +00:00
CoverageSummaryInfo.cpp [llvm-cov] Move LineCoverageIterator to libCoverage. NFC. 2017-10-18 23:58:28 +00:00
CoverageSummaryInfo.h [llvm-cov] Multi-threaded implementation of prepareFileReports method. 2018-01-05 16:15:07 +00:00
CoverageViewOptions.h [llvm-cov] Multi-threaded implementation of prepareFileReports method. 2018-01-05 16:15:07 +00:00
gcov.cpp GCOV: Move GCOV from IR & Support into ProfileData to fix layering 2017-11-03 20:57:10 +00:00
llvm-cov.cpp
LLVMBuild.txt
RenderingSupport.h
SourceCoverageView.cpp [llvm-cov] Don't render empty region marker lines 2017-11-09 02:33:44 +00:00
SourceCoverageView.h [llvm-cov] Don't render empty region marker lines 2017-11-09 02:33:44 +00:00
SourceCoverageViewHTML.cpp [llvm-cov] Fix incorrect usage of .precision specifier in format() call. 2018-01-31 22:13:07 +00:00
SourceCoverageViewHTML.h [llvm-cov] Use the coverage namespace. NFC. 2017-10-18 23:58:27 +00:00
SourceCoverageViewText.cpp [Coverage] Use the wrapped segment when a line has entry segments 2017-11-09 02:33:43 +00:00
SourceCoverageViewText.h [llvm-cov] Use the coverage namespace. NFC. 2017-10-18 23:58:27 +00:00
TestingSupport.cpp