From 0ddfe7f8dc8f8db1ba8fb9eb344d814d7a6a9054 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 5 Mar 2014 03:33:01 +0000 Subject: Small fix to DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule needed with Greg's change to how we load modules in r202890. llvm-svn: 202933 --- .../Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp') diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index a27d4b9d814..82a3c830eff 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -810,7 +810,7 @@ DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule (Process *p // to be the bundle ID for this kext, e.g. "com.apple.filesystems.msdosfs", and ask the platform // to find it. PlatformSP platform_sp (target.GetPlatform()); - if (platform_sp) + if (!m_module_sp && platform_sp) { ConstString platform_name (platform_sp->GetPluginName()); static ConstString g_platform_name (PlatformDarwinKernel::GetPluginNameStatic()); -- cgit v1.2.3