[Support] Listing a directory containing dangling symlinks is not an error.
commita46ae181007e7ee02c683b2d560fdd02cca8c493
authorSam McCall <sam.mccall@gmail.com>
Mon, 1 Oct 2018 12:17:05 +0000 (1 12:17 +0000)
committerSam McCall <sam.mccall@gmail.com>
Mon, 1 Oct 2018 12:17:05 +0000 (1 12:17 +0000)
treed4fe1d355c77c9e9ede6f86b7d27e0ab8776ed9e
parentf7f9563cf463210102ff1093115128d4dc699858
[Support] Listing a directory containing dangling symlinks is not an error.

Summary:
Reporting this as an error required stat()ing every file, as well as seeming
semantically questionable.

Reviewers: vsk, bkramer

Subscribers: mgrang, kristina, llvm-commits, liaoyuke

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343460 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
tools/llvm-cov/CodeCoverage.cpp
unittests/Support/Path.cpp