diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp index 70c6380942ef..bc0206eadc45 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp @@ -755,6 +755,7 @@ Status PlatformDarwinKernel::GetSharedModuleKext( Status error; module_sp.reset(); const FileSpec &platform_file = module_spec.GetFileSpec(); + UpdateKextandKernelsLocalScan(); // Treat the file's path as a kext bundle ID (e.g. // "com.apple.driver.AppleIRController") and search our kext index.