lldb PlatformDarwinKernel make local filesystem scan lazy
authorJason Molenda <jason@molenda.com>
Wed, 17 May 2023 01:15:59 +0000 (18:15 -0700)
committerJason Molenda <jason@molenda.com>
Wed, 17 May 2023 01:15:59 +0000 (18:15 -0700)
commite3227e74e3bfab7c5aed07c20b515202275ce7c4
treee8c6c058c049a0ed47d6470235d4cafb81d74557
parentd6811826371d82de074d0c3e10040114eee69897
lldb PlatformDarwinKernel make local filesystem scan lazy

Instead of doing the local filesystem scan for kexts and kernels
when the PlatformDarwinKernel is constructed, delay doing it until
the scan is needed.

Differential Revision: https://reviews.llvm.org/D150621
rdar://109186357
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h