[Lldb-commits] [lldb] r355531 - Try to fix OSX compilation failure.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 10:44:27 PST 2019


Author: zturner
Date: Wed Mar  6 10:44:27 2019
New Revision: 355531

URL: http://llvm.org/viewvc/llvm-project?rev=355531&view=rev
Log:
Try to fix OSX compilation failure.

Modified:
    lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

Modified: lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp?rev=355531&r1=355530&r2=355531&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp Wed Mar  6 10:44:27 2019
@@ -291,8 +291,11 @@ Status ProcessKDP::DoConnectRemote(Strea
               module_spec.GetArchitecture() = target.GetArchitecture();
 
               // Lookup UUID locally, before attempting dsymForUUID like action
+              FileSpecList search_paths =
+                  Target::GetDefaultDebugFileSearchPaths();
               module_spec.GetSymbolFileSpec() =
-                  Symbols::LocateExecutableSymbolFile(module_spec);
+                  Symbols::LocateExecutableSymbolFile(module_spec,
+                                                      search_paths);
               if (module_spec.GetSymbolFileSpec()) {
                 ModuleSpec executable_module_spec =
                     Symbols::LocateExecutableObjectFile(module_spec);




More information about the lldb-commits mailing list