[lldb][kernel debug] Add a missing call to scan local fs for kexts (#190281)

A kernel developer noticed that I missed a call to index the local
filesystem in one of our codepaths, and had a use case that depended on
that working.

rdar://173814556
This commit is contained in:
Jason Molenda 2026-04-02 16:33:00 -07:00 committed by GitHub
parent 1f75f318ae
commit 124b0a8fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.