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)
     {