[lldb/Reproducers] Don't recursively record everything in the CWD
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 21 Jul 2020 15:59:44 +0000 (08:59 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 21 Jul 2020 16:02:38 +0000 (09:02 -0700)
commit9f8d481d6816d620fc0a1f1c510f662c01fdacec
tree2d95885326f20af524f53354e4998553577453db
parentbb8850d34d601d4edd75fd30c07821c05a726c42
[lldb/Reproducers] Don't recursively record everything in the CWD

RecordInterestingDirectory was added to collect dSYM bundles and their
content. For the current working directory we only want the directory to
be part of the VFS, not necessarily its contents. This patch renames the
current method to RecordInterestingDirectoryRecursively and adds a new
one that's not recursive.
lldb/include/lldb/Utility/Reproducer.h
lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
lldb/source/Utility/Reproducer.cpp
lldb/test/Shell/Reproducer/TestWorkingDir.test