[Lldb-commits] [lldb] 33d6bd1 - [lldb] Remove finding .Bundle directories in PlatformDarwinKernel
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 26 14:54:03 PDT 2023
Author: Alex Langford
Date: 2023-04-26T14:53:55-07:00
New Revision: 33d6bd1c667456f7f4a9d338a7996a30a3af50a3
URL: https://github.com/llvm/llvm-project/commit/33d6bd1c667456f7f4a9d338a7996a30a3af50a3
DIFF: https://github.com/llvm/llvm-project/commit/33d6bd1c667456f7f4a9d338a7996a30a3af50a3.diff
LOG: [lldb] Remove finding .Bundle directories in PlatformDarwinKernel
Jason isn't sure what this is used for and isn't aware of a .Bundle
suffix related to kernel debugging. Let's remove it.
Differential Revision: https://reviews.llvm.org/D149284
Added:
Modified:
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
index 5d81b7caef71..784381ada66e 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
@@ -482,7 +482,6 @@ PlatformDarwinKernel::GetKernelsAndKextsInDirectoryHelper(
bool recurse) {
static ConstString g_kext_suffix = ConstString(".kext");
static ConstString g_dsym_suffix = ConstString(".dSYM");
- static ConstString g_bundle_suffix = ConstString("Bundle");
FileSpec file_spec(path);
ConstString file_spec_extension = file_spec.GetFileNameExtension();
@@ -567,8 +566,7 @@ PlatformDarwinKernel::GetKernelsAndKextsInDirectoryHelper(
// Don't recurse into dSYM/kext/bundle directories
if (recurse && file_spec_extension != g_dsym_suffix &&
- file_spec_extension != g_kext_suffix &&
- file_spec_extension != g_bundle_suffix) {
+ file_spec_extension != g_kext_suffix) {
LLDB_LOGV(log, "PlatformDarwinKernel descending into directory '{0}'",
file_spec);
return FileSystem::eEnumerateDirectoryResultEnter;
More information about the lldb-commits
mailing list