Change the indexing done for kernel/kext directories to be recursive.
authorJason Molenda <jmolenda@apple.com>
Fri, 5 Aug 2016 00:44:34 +0000 (00:44 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 5 Aug 2016 00:44:34 +0000 (00:44 +0000)
commit243bd763ecad466fac748b565ea52c661107684d
tree236aa690b1176060d304dede9b3d171adfa1a39a
parent358e60a6b33875ecb9fa8cd702d6ad9aa38d254d
Change the indexing done for kernel/kext directories to be recursive.
Also re-write how most of the directory indexing is done - as it has
grown over the years, it has become a bit of a mess and was overdue
for a cleanup.

Most importantly, this allows you to specify a directory with the
platform.plugin.darwin-kernel.kext-directories setting and now lldb
will search for kexts and kernels in those directories recursively.

<rdar://problem/20754467>

llvm-svn: 277789
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h