commit | acac081590005ee725ec2d6e3d4bfe3099f24d78 | [log] [tgz] |
---|---|---|
author | Jason Molenda <jmolenda@apple.com> | Tue Apr 23 22:35:28 2013 +0000 |
committer | Jason Molenda <jmolenda@apple.com> | Tue Apr 23 22:35:28 2013 +0000 |
tree | d964363510e87e32505f9b1b953f25eb26fbdc57 | |
parent | d9865518043af19069e10a5c56ed68551c7891ad [diff] |
Also look for kexts in /Library/Extensions if that directory exists. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180154 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp b/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp index d41704b..3ccf78e 100644 --- a/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp +++ b/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
@@ -394,6 +394,12 @@ 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) {