diff options
author | Max Moroz <mmoroz@chromium.org> | 2018-04-05 19:43:24 +0000 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2018-04-05 19:43:24 +0000 |
commit | 650fd6c31c99277e0b9c18a252a325001efa34f7 (patch) | |
tree | fddf790b840045c4c3c036b9a6a22ad250bdbf43 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 96ba8befa9aed3a771d022057061be607ca1618e (diff) | |
download | bcm5719-llvm-650fd6c31c99277e0b9c18a252a325001efa34f7.tar.gz bcm5719-llvm-650fd6c31c99277e0b9c18a252a325001efa34f7.zip |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions