Change the DarwinKernel DyanmicLoader to maintain a persist list
authorJason Molenda <jmolenda@apple.com>
Tue, 19 Feb 2013 05:42:46 +0000 (05:42 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 19 Feb 2013 05:42:46 +0000 (05:42 +0000)
commit306bd0aa7483866a5977f0515f677b2f5a74a819
tree0677190a5d395167bcf62741cbe50f485e0f30c3
parentb35030b2292ba360bceb41ab38bee7634f19eb61
Change the DarwinKernel DyanmicLoader to maintain a persist list
of kernel extensions (kexts) that have been loaded into the kernel.
Now when we hit the "kexts have changed" breakpoint we can avoid
adding kexts multiple times, and can properly detect kext unloads
and remove them from the Target's list of modules.

<rdar://problem/13107639>
<rdar://problem/13191016>

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