[Lldb-commits] [lldb] r180154 - Also look for kexts in /Library/Extensions if that directory exists.
Jason Molenda
jmolenda at apple.com
Tue Apr 23 15:35:29 PDT 2013
Author: jmolenda
Date: Tue Apr 23 17:35:28 2013
New Revision: 180154
URL: http://llvm.org/viewvc/llvm-project?rev=180154&view=rev
Log:
Also look for kexts in /Library/Extensions if that directory exists.
Modified:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp?rev=180154&r1=180153&r2=180154&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp Tue Apr 23 17:35:28 2013
@@ -394,6 +394,12 @@ PlatformDarwinKernel::GetMacDirectoriesT
directories.push_back(sle);
}
+ FileSpec le("/Library/Extensions", true);
+ if (le.Exists() && le.GetFileType() == FileSpec::eFileTypeDirectory)
+ {
+ directories.push_back(le);
+ }
+
FileSpec kdk("/Volumes/KernelDebugKit", true);
if (kdk.Exists() && kdk.GetFileType() == FileSpec::eFileTypeDirectory)
{
More information about the lldb-commits
mailing list