Change the order that the DarwinKernel DynamicLoader plugin uses
authorJason Molenda <jmolenda@apple.com>
Tue, 19 Feb 2013 07:16:22 +0000 (07:16 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 19 Feb 2013 07:16:22 +0000 (07:16 +0000)
commitd76fb6ea1230fd96e69e2eb76c10887fdc2ec7d6
treeb6db33e925b41fbf92a174a2814d821a18a1a546
parent56c23285f938949819bde377726f867a7d9bcfbb
Change the order that the DarwinKernel DynamicLoader plugin uses
to search for kexts on the local system -- the ModuleList FindModule()
method is the best first attempt, only call
Symbols::DownloadObjectAndSymbolFile() if that has failed and this
is the kernel binary which really needs to have its symbols located.

<rdar://problem/13241893>

llvm-svn: 175495
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h