[all-commits] [llvm/llvm-project] 2c1108: FileSystem::EnumerateDirectory should skip entries...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Mon Jun 26 17:53:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c1108f44342019a67ce55bb98e2a05b57a70b9a
https://github.com/llvm/llvm-project/commit/2c1108f44342019a67ce55bb98e2a05b57a70b9a
Author: Jason Molenda <jason at molenda.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M lldb/source/Host/common/FileSystem.cpp
M lldb/unittests/Host/FileSystemTest.cpp
Log Message:
-----------
FileSystem::EnumerateDirectory should skip entries w/o Status, not halt
EnumerateDirectory gets the vfs::Status of each directory entry to
decide how to process it. If it is unable to get the Status for
a directory entry, it will currently halt the directory iteration
entirely. It should only skip this entry.
Differential Revision: https://reviews.llvm.org/D153822
rdar://110861210
More information about the All-commits
mailing list